summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-19 11:53:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:43 -0500
commit3c5675af9340cb66f9d9337d3dc7f82e6ff13e1b (patch)
treec0babf1c4b25e6278b6172e3f4716dfff59fbe98 /source4
parentcd65f29fc68eb51d0ca7e3c598f875d2c9eafc35 (diff)
downloadsamba-3c5675af9340cb66f9d9337d3dc7f82e6ff13e1b.tar.gz
samba-3c5675af9340cb66f9d9337d3dc7f82e6ff13e1b.tar.bz2
samba-3c5675af9340cb66f9d9337d3dc7f82e6ff13e1b.zip
r8600: fixed null termination on some error messages in ldb
(This used to be commit 326f0ad6fba8d78f104b93b49995e6c24f9493ef)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/ldb/common/ldb.c6
1 files changed, 3 insertions, 3 deletions
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;
}