1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

s4-smbd: fix randseed_init() usage.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri May  6 17:37:11 CEST 2011 on sn-devel-104
This commit is contained in:
Günther Deschner 2011-05-06 16:22:41 +02:00
parent 1e208a7057
commit fa8490aa4c

View File

@ -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;
}