summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-07-11 10:08:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:31 -0500
commitf0072e54767de3c964ee3c9ed732ab0b58d05004 (patch)
tree3ae9e69a057376190806bbc3db59379212aa41b5 /source3/lib
parent47d2f021c80a7d961a211d7b2f8dc899b2f8deca (diff)
downloadsamba-f0072e54767de3c964ee3c9ed732ab0b58d05004.tar.gz
samba-f0072e54767de3c964ee3c9ed732ab0b58d05004.tar.bz2
samba-f0072e54767de3c964ee3c9ed732ab0b58d05004.zip
r23828: Add entry and exit debug statments to tdb_validate
at a lower debug level. Michael (This used to be commit b636f8cdad72a9a9bc1d302d8d681dca2da6105a)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_tdb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lib/util_tdb.c b/source3/lib/util_tdb.c
index c567250a9f..22831d97ac 100644
--- a/source3/lib/util_tdb.c
+++ b/source3/lib/util_tdb.c
@@ -1051,6 +1051,8 @@ int tdb_validate(const char *tdb_path, tdb_validate_data_func validate_fn)
int wait_pid = 0;
int ret = -1;
+ DEBUG(5, ("tdb_validate called for tdb '%s'\n", tdb_path));
+
/* fork and let the child do the validation.
* benefit: no need to twist signal handlers and panic functions.
* just let the child panic. we catch the signal. */
@@ -1112,5 +1114,8 @@ int tdb_validate(const char *tdb_path, tdb_validate_data_func validate_fn)
ret = WSTOPSIG(child_status);
}
+ DEBUG(5, ("tdb_validate returning code '%d' for tdb '%s'\n", ret,
+ tdb_path));
+
return ret;
}