summaryrefslogtreecommitdiff
path: root/source3/lib/util_tdb.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-07-17 21:55:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:47 -0500
commitf932dccd5dc3df1c353a8db9f9eb633d9807222d (patch)
treeea4e98c81c14e4f7e2bdf31e134131d7610a6061 /source3/lib/util_tdb.c
parent9e0c550922e44dacc57480a96dd217bc6ab28459 (diff)
downloadsamba-f932dccd5dc3df1c353a8db9f9eb633d9807222d.tar.gz
samba-f932dccd5dc3df1c353a8db9f9eb633d9807222d.tar.bz2
samba-f932dccd5dc3df1c353a8db9f9eb633d9807222d.zip
r23938: Add a debug message.
(This used to be commit 6bd2c48921dd8dbf2885a8135ba01a1324e020c8)
Diffstat (limited to 'source3/lib/util_tdb.c')
-rw-r--r--source3/lib/util_tdb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/util_tdb.c b/source3/lib/util_tdb.c
index 2fa915131b..cd8eb4c8c1 100644
--- a/source3/lib/util_tdb.c
+++ b/source3/lib/util_tdb.c
@@ -1238,6 +1238,8 @@ static int tdb_backup(TALLOC_CTX *ctx, const char *src_path,
goto done;
}
+ DEBUG(10, ("tdb_backup: successfully copied %d entries\n", count1));
+
/* make sure the new tdb has reached stable storage
* then rename it to its destination */
fsync(tdb_fd(dst_tdb));