From 3c5675af9340cb66f9d9337d3dc7f82e6ff13e1b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 19 Jul 2005 11:53:25 +0000 Subject: r8600: fixed null termination on some error messages in ldb (This used to be commit 326f0ad6fba8d78f104b93b49995e6c24f9493ef) --- source4/lib/ldb/common/ldb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/lib/ldb/common') diff --git a/source4/lib/ldb/common/ldb.c b/source4/lib/ldb/common/ldb.c index aa5b58c252..3a2eb13297 100644 --- a/source4/lib/ldb/common/ldb.c +++ b/source4/lib/ldb/common/ldb.c @@ -88,17 +88,17 @@ int ldb_connect(struct ldb_context *ldb, const char *url, unsigned int flags, co } #endif else { - ldb_debug(ldb, LDB_DEBUG_FATAL, "Unable to find backend for '%s'", url); + ldb_debug(ldb, LDB_DEBUG_FATAL, "Unable to find backend for '%s'\n", url); return -1; } if (ret != 0) { - ldb_debug(ldb, LDB_DEBUG_ERROR, "Failed to connect to '%s'", url); + ldb_debug(ldb, LDB_DEBUG_ERROR, "Failed to connect to '%s'\n", url); return ret; } if (ldb_load_modules(ldb, options) != 0) { - ldb_debug(ldb, LDB_DEBUG_FATAL, "Unable to load modules for '%s'", url); + ldb_debug(ldb, LDB_DEBUG_FATAL, "Unable to load modules for '%s'\n", url); return -1; } -- cgit