diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util_tdb.c | 5 |
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; } |