diff options
Diffstat (limited to 'source4/smbd')
-rw-r--r-- | source4/smbd/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smbd/server.c b/source4/smbd/server.c index 4cd0263137..8daf5d4c11 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -390,7 +390,7 @@ static int binary_smbd_main(const char *binary_name, int argc, const char *argv[ /* Set up a database to hold a random seed, in case we don't * have /dev/urandom */ - if (randseed_init(talloc_autofree_context(), cmdline_lp_ctx) == NULL) { + if (!randseed_init(talloc_autofree_context(), cmdline_lp_ctx)) { return 1; } |