summaryrefslogtreecommitdiff
path: root/source/lib/tdb/tools
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-07-17 10:30:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:45 -0500
commit864b3d260f3b099b1f24edf4ed0a7ed52b05f6cc (patch)
treeda86536768fd91d68a9f5124070df143280f58fe /source/lib/tdb/tools
parent7d8518ebd9470062b499b7074a940e14520e99f2 (diff)
downloadsamba-864b3d260f3b099b1f24edf4ed0a7ed52b05f6cc.tar.gz
r23925: Use NULL instead of 0 for a void * argument.
Diffstat (limited to 'source/lib/tdb/tools')
-rw-r--r--source/lib/tdb/tools/tdbbackup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/tdb/tools/tdbbackup.c b/source/lib/tdb/tools/tdbbackup.c
index b9fbc41447d..a161085798d 100644
--- a/source/lib/tdb/tools/tdbbackup.c
+++ b/source/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);