summaryrefslogtreecommitdiff
path: root/source/lib/sharesec.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/sharesec.c')
-rw-r--r--source/lib/sharesec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/sharesec.c b/source/lib/sharesec.c
index b98e304582a..8105d5c37a6 100644
--- a/source/lib/sharesec.c
+++ b/source/lib/sharesec.c
@@ -55,7 +55,7 @@ BOOL share_info_db_init(void)
}
/* handle a Samba upgrade */
- tdb_lock_bystring(share_tdb, vstring, 0);
+ tdb_lock_bystring(share_tdb, vstring);
/* Cope with byte-reversed older versions of the db. */
vers_id = tdb_fetch_int32(share_tdb, vstring);