diff options
Diffstat (limited to 'lib/util')
-rw-r--r-- | lib/util/tdb_wrap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/util/tdb_wrap.c b/lib/util/tdb_wrap.c index 71aea5e36c..a3dc76d6b7 100644 --- a/lib/util/tdb_wrap.c +++ b/lib/util/tdb_wrap.c @@ -27,6 +27,7 @@ #if BUILD_TDB2 static void tdb_wrap_log(struct tdb_context *tdb, enum tdb_log_level level, + enum TDB_ERROR ecode, const char *message, void *unused) { @@ -45,7 +46,8 @@ static void tdb_wrap_log(struct tdb_context *tdb, dl = 0; } - DEBUG(dl, ("tdb(%s): %s", name ? name : "unnamed", message)); + DEBUG(dl, ("tdb(%s):%s: %s", name ? name : "unnamed", + tdb_errorstr(ecode), message)); } #else /* |