summaryrefslogtreecommitdiff
path: root/source3/tdb/tdbutil.c
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
commit45d3315e3233ad8b9f04cf31537f495438d9348e (patch)
treeeeee71a94af83a4725562516b04587eba185fcc0 /source3/tdb/tdbutil.c
parentc36b31783e172e683de5bfa1c7df8158acfb2ae5 (diff)
downloadsamba-45d3315e3233ad8b9f04cf31537f495438d9348e.tar.gz
samba-45d3315e3233ad8b9f04cf31537f495438d9348e.tar.bz2
samba-45d3315e3233ad8b9f04cf31537f495438d9348e.zip
When printing a tdb log message display "unnamed" instead of "unknown" if
the tdb has not been named. (This used to be commit 3e7985c60ee9888285769f1eb0ec81f764c26d91)
Diffstat (limited to 'source3/tdb/tdbutil.c')
-rw-r--r--source3/tdb/tdbutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/tdb/tdbutil.c b/source3/tdb/tdbutil.c
index f7cebb58d5..3e16a03047 100644
--- a/source3/tdb/tdbutil.c
+++ b/source3/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);
}