summaryrefslogtreecommitdiffstats
path: root/source/tdb
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-04-09 23:03:17 +0000
committerTim Potter <tpot@samba.org>2002-04-09 23:03:17 +0000
commit3e7985c60ee9888285769f1eb0ec81f764c26d91 (patch)
treea28805cb10449e1f3bf5c51b23bd0e2669815139 /source/tdb
parentcda9fccd629d084039af642d9177865d88553be6 (diff)
downloadsamba-3e7985c60ee9888285769f1eb0ec81f764c26d91.tar.gz
samba-3e7985c60ee9888285769f1eb0ec81f764c26d91.tar.xz
samba-3e7985c60ee9888285769f1eb0ec81f764c26d91.zip
When printing a tdb log message display "unnamed" instead of "unknown" if
the tdb has not been named.
Diffstat (limited to 'source/tdb')
-rw-r--r--source/tdb/tdbutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tdb/tdbutil.c b/source/tdb/tdbutil.c
index f7cebb58d55..3e16a030474 100644
--- a/source/tdb/tdbutil.c
+++ b/source/tdb/tdbutil.c
@@ -474,7 +474,7 @@ static void tdb_log(TDB_CONTEXT *tdb, int level, const char *format, ...)
if (!ptr || !*ptr)
return;
- DEBUG(level, ("tdb(%s): %s", tdb->name ? tdb->name : "unknown", ptr));
+ DEBUG(level, ("tdb(%s): %s", tdb->name ? tdb->name : "unnamed", ptr));
SAFE_FREE(ptr);
}