summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_tdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-19 11:54:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:43 -0500
commitc1a4f0c769479f0a5a262db6f9d82814bf81d1d3 (patch)
treef3a8260bf32754adef5c94a76ec5fcf822e7bfdf /source4/lib/ldb/ldb_tdb
parent3c5675af9340cb66f9d9337d3dc7f82e6ff13e1b (diff)
downloadsamba-c1a4f0c769479f0a5a262db6f9d82814bf81d1d3.tar.gz
samba-c1a4f0c769479f0a5a262db6f9d82814bf81d1d3.tar.bz2
samba-c1a4f0c769479f0a5a262db6f9d82814bf81d1d3.zip
r8601: fixed null termination in ltdb connect error
(This used to be commit 64b6586b57de0bf22f8779447d217a918b7024a0)
Diffstat (limited to 'source4/lib/ldb/ldb_tdb')
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_tdb.c b/source4/lib/ldb/ldb_tdb/ldb_tdb.c
index df94b0691d..0c8d2cea3e 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_tdb.c
+++ b/source4/lib/ldb/ldb_tdb/ldb_tdb.c
@@ -861,7 +861,7 @@ int ltdb_connect(struct ldb_context *ldb, const char *url,
/* note that we use quite a large default hash size */
tdb = tdb_open(path, 10000, tdb_flags, open_flags, 0666);
if (!tdb) {
- ldb_debug(ldb, LDB_DEBUG_ERROR, "Unable to open tdb '%s'", path);
+ ldb_debug(ldb, LDB_DEBUG_ERROR, "Unable to open tdb '%s'\n", path);
return -1;
}