mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
r23828: Add entry and exit debug statments to tdb_validate
at a lower debug level. Michael (This used to be commit b636f8cdad72a9a9bc1d302d8d681dca2da6105a)
This commit is contained in:
parent
47d2f021c8
commit
f0072e5476
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user