diff options
Diffstat (limited to 'lib/ldb-samba/ldb_wrap.c')
-rw-r--r-- | lib/ldb-samba/ldb_wrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldb-samba/ldb_wrap.c b/lib/ldb-samba/ldb_wrap.c index 66213bf288..b8af8c151f 100644 --- a/lib/ldb-samba/ldb_wrap.c +++ b/lib/ldb-samba/ldb_wrap.c @@ -332,7 +332,7 @@ int samba_ldb_connect(struct ldb_context *ldb, struct loadparm_context *lp_ctx, } } - if (tdb_reopen_all(1) == -1) { + if (tdb_reopen_all(1) != 0) { smb_panic("tdb_reopen_all failed\n"); } } |