r8601: fixed null termination in ltdb connect error
authorAndrew Tridgell <tridge@samba.org>
Tue, 19 Jul 2005 11:54:00 +0000 (11:54 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:29:43 +0000 (13:29 -0500)
(This used to be commit 64b6586b57de0bf22f8779447d217a918b7024a0)

source4/lib/ldb/ldb_tdb/ldb_tdb.c

index df94b0691d21855d5cdc37539b5e94be52f3dc70..0c8d2cea3e0f54221a0c9cf7ebbc17a408461d39 100644 (file)
@@ -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;
        }