mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +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 wait_pid = 0;
|
||||||
int ret = -1;
|
int ret = -1;
|
||||||
|
|
||||||
|
DEBUG(5, ("tdb_validate called for tdb '%s'\n", tdb_path));
|
||||||
|
|
||||||
/* fork and let the child do the validation.
|
/* fork and let the child do the validation.
|
||||||
* benefit: no need to twist signal handlers and panic functions.
|
* benefit: no need to twist signal handlers and panic functions.
|
||||||
* just let the child panic. we catch the signal. */
|
* 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);
|
ret = WSTOPSIG(child_status);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DEBUG(5, ("tdb_validate returning code '%d' for tdb '%s'\n", ret,
|
||||||
|
tdb_path));
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user