summaryrefslogtreecommitdiff
path: root/source4/lib/tdb
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 15:01:10 -0500
commita45166bae0947614ff1cbfce928879eafe284f3f (patch)
tree0cffea054b864f740752f802a54e51e9a7f7aeae /source4/lib/tdb
parent1ce5642baefd0d62db2b60ad36c5924f58e74bb1 (diff)
downloadsamba-a45166bae0947614ff1cbfce928879eafe284f3f.tar.gz
samba-a45166bae0947614ff1cbfce928879eafe284f3f.tar.bz2
samba-a45166bae0947614ff1cbfce928879eafe284f3f.zip
r23925: Use NULL instead of 0 for a void * argument.
(This used to be commit bf7774360bbcf557e3cbc4ef0c45f750b4ba89c3)
Diffstat (limited to 'source4/lib/tdb')
-rw-r--r--source4/lib/tdb/tools/tdbbackup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/tdb/tools/tdbbackup.c b/source4/lib/tdb/tools/tdbbackup.c
index b9fbc41447..a161085798 100644
--- a/source4/lib/tdb/tools/tdbbackup.c
+++ b/source4/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);