diff options
Diffstat (limited to 'source4/scripting/libjs/base.js')
-rw-r--r-- | source4/scripting/libjs/base.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/scripting/libjs/base.js b/source4/scripting/libjs/base.js index c6b05755c4..181b3ca959 100644 --- a/source4/scripting/libjs/base.js +++ b/source4/scripting/libjs/base.js @@ -10,6 +10,14 @@ if (global["HAVE_BASE_JS"] != undefined) { HAVE_BASE_JS=1 /* + an essential function! +*/ +function printf() +{ + print(vsprintf(arguments)); +} + +/* helper function to setup a rpc io object, ready for input */ function irpcObj() |