diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-05-19 06:49:01 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:52:38 -0500 |
commit | fdc0809b41c7abba1fcdaa86d23868c86fa9ff71 (patch) | |
tree | 1bbfcc657a59607e43e929e016c45042db134e5f | |
parent | d3f30cab1e97d2d05d4e99645076ae8508fc177d (diff) | |
download | samba-fdc0809b41c7abba1fcdaa86d23868c86fa9ff71.tar.gz samba-fdc0809b41c7abba1fcdaa86d23868c86fa9ff71.tar.bz2 samba-fdc0809b41c7abba1fcdaa86d23868c86fa9ff71.zip |
r23011: initialisation functions must return NTSTATUS, otherwise we get bus
errors on platforms like sparc. This is why sun1 died during
provision.
(This used to be commit ad6a672ec3cf077d419458e2f07ebe6d9a2b94b2)
-rw-r--r-- | source4/scripting/ejs/ejsnet/net_ctx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/ejs/ejsnet/net_ctx.c b/source4/scripting/ejs/ejsnet/net_ctx.c index 9a5e6bb3cc..1c70dc107f 100644 --- a/source4/scripting/ejs/ejsnet/net_ctx.c +++ b/source4/scripting/ejs/ejsnet/net_ctx.c @@ -222,7 +222,8 @@ static int ejs_net_samsync_ldb(MprVarHandle eid, int argc, struct MprVar **argv) } -void smb_setup_ejs_net(void) +NTSTATUS smb_setup_ejs_net(void) { ejsDefineCFunction(-1, "NetContext", ejs_net_context, NULL, MPR_VAR_SCRIPT_HANDLE); + return NT_STATUS_OK; } |