From fa8490aa4cdf8c1836919ca412de1488840094f5 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 6 May 2011 16:22:41 +0200 Subject: s4-smbd: fix randseed_init() usage. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Fri May 6 17:37:11 CEST 2011 on sn-devel-104 --- source4/smbd/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/smbd') 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; } -- cgit