summaryrefslogtreecommitdiff
path: root/source3/lib/tdb/tools
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/tdb/tools')
-rw-r--r--source3/lib/tdb/tools/tdbbackup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/tdb/tools/tdbbackup.c b/source3/lib/tdb/tools/tdbbackup.c
index b9fbc41447..a161085798 100644
--- a/source3/lib/tdb/tools/tdbbackup.c
+++ b/source3/lib/tdb/tools/tdbbackup.c
@@ -163,7 +163,7 @@ static int backup_tdb(const char *old_name, const char *new_name, int hash_size)
}
/* traverse the new tdb to confirm */
- count2 = tdb_traverse(tdb_new, test_fn, 0);
+ count2 = tdb_traverse(tdb_new, test_fn, NULL);
if (count2 != count1) {
fprintf(stderr,"failed to copy %s\n", old_name);
tdb_close(tdb_new);