diff options
-rw-r--r-- | source3/tdb/tdbutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/tdb/tdbutil.c b/source3/tdb/tdbutil.c index 9ca4430136..5f94633d26 100644 --- a/source3/tdb/tdbutil.c +++ b/source3/tdb/tdbutil.c @@ -472,7 +472,7 @@ static void tdb_log(TDB_CONTEXT *tdb, int level, const char *format, ...) if (!ptr || !*ptr) return; - DEBUG(level, ("tdb(%s): %s", tdb->name, ptr)); + DEBUG(level, ("tdb(%s): %s", tdb->name ? tdb->name : "unknown", ptr)); SAFE_FREE(ptr); } |