diff options
author | Volker Lendecke <vl@samba.org> | 2011-02-19 20:05:07 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-02-20 10:23:29 +0100 |
commit | 51b84a9ed7eaa7e38e2279a825290976bfa40177 (patch) | |
tree | 991a7a216ec6c551844a1ce6f693238968bc746c /source3/smbd | |
parent | 88f52155607ccc653d4f4610557bfa10b83e4c73 (diff) | |
download | samba-51b84a9ed7eaa7e38e2279a825290976bfa40177.tar.gz samba-51b84a9ed7eaa7e38e2279a825290976bfa40177.tar.bz2 samba-51b84a9ed7eaa7e38e2279a825290976bfa40177.zip |
s3: Convert init_system_info to NTSTATUS
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/server.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index f4436bfad7..abdd52accb 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -1179,8 +1179,10 @@ extern void build_options(bool screen); exit(1); } - if (!init_system_info()) { - DEBUG(0,("ERROR: failed to setup system user info.\n")); + status = init_system_info(); + if (!NT_STATUS_IS_OK(status)) { + DEBUG(1, ("ERROR: failed to setup system user info: %s.\n", + nt_errstr(status))); return -1; } |