diff options
Diffstat (limited to 'source4/scripting/ejs/smbcalls_reg.c')
-rw-r--r-- | source4/scripting/ejs/smbcalls_reg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/ejs/smbcalls_reg.c b/source4/scripting/ejs/smbcalls_reg.c index fee11b66d96..30e5357cfba 100644 --- a/source4/scripting/ejs/smbcalls_reg.c +++ b/source4/scripting/ejs/smbcalls_reg.c @@ -54,7 +54,7 @@ static int ejs_apply_patchfile(MprVarHandle eid, int argc, struct MprVar **argv) return -1; } - error = reg_diff_apply(mprToString(argv[0]), rctx); + error = reg_diff_apply(rctx, mprToString(argv[0])); mpr_Return(eid, mprWERROR(error)); |