diff options
Diffstat (limited to 'source4/scripting/ejs/smbcalls_rand.c')
-rw-r--r-- | source4/scripting/ejs/smbcalls_rand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/ejs/smbcalls_rand.c b/source4/scripting/ejs/smbcalls_rand.c index d50cfc9504..a2db1f0d6d 100644 --- a/source4/scripting/ejs/smbcalls_rand.c +++ b/source4/scripting/ejs/smbcalls_rand.c @@ -70,7 +70,7 @@ static int ejs_randguid(MprVarHandle eid, int argc, struct MprVar **argv) */ static int ejs_randsid(MprVarHandle eid, int argc, struct MprVar **argv) { - char *s = talloc_asprintf(mprMemCtx(), "S-1-5-21-%8u-%8u-%8u", + char *s = talloc_asprintf(mprMemCtx(), "S-1-5-21-%u-%u-%u", (unsigned)generate_random(), (unsigned)generate_random(), (unsigned)generate_random()); |