From f0072e54767de3c964ee3c9ed732ab0b58d05004 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 11 Jul 2007 10:08:17 +0000 Subject: r23828: Add entry and exit debug statments to tdb_validate at a lower debug level. Michael (This used to be commit b636f8cdad72a9a9bc1d302d8d681dca2da6105a) --- source3/lib/util_tdb.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3') 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; } -- cgit