svn commit: samba r23011 - in
branches/SAMBA_4_0/source/scripting/ejs/ejsnet: .
tridge at samba.org
tridge at samba.org
Sat May 19 06:49:01 GMT 2007
Author: tridge
Date: 2007-05-19 06:49:01 +0000 (Sat, 19 May 2007)
New Revision: 23011
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23011
Log:
initialisation functions must return NTSTATUS, otherwise we get bus
errors on platforms like sparc. This is why sun1 died during
provision.
Modified:
branches/SAMBA_4_0/source/scripting/ejs/ejsnet/net_ctx.c
Changeset:
Modified: branches/SAMBA_4_0/source/scripting/ejs/ejsnet/net_ctx.c
===================================================================
--- branches/SAMBA_4_0/source/scripting/ejs/ejsnet/net_ctx.c 2007-05-19 04:59:00 UTC (rev 23010)
+++ branches/SAMBA_4_0/source/scripting/ejs/ejsnet/net_ctx.c 2007-05-19 06:49:01 UTC (rev 23011)
@@ -222,7 +222,8 @@
}
-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;
}
More information about the samba-cvs
mailing list