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:
parent
1e208a7057
commit
fa8490aa4c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user