diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-08-06 03:48:56 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:01:30 -0500 |
commit | 85e197502221049085e2ed882a1011229a623811 (patch) | |
tree | 2cf992e3dc2db13341509bca5f7d8bb2ed915d16 /source4/dsdb/samdb/ldb_modules/naming_fsmo.c | |
parent | 58d9f6ed9dc054f4046be660353f1fb627145911 (diff) | |
download | samba-85e197502221049085e2ed882a1011229a623811.tar.gz samba-85e197502221049085e2ed882a1011229a623811.tar.bz2 samba-85e197502221049085e2ed882a1011229a623811.zip |
r24247: Remove extra newlines from ldb_debug() calls - it already adds one.
Andrew Bartlett
(This used to be commit e5fdcda2a1e97c587d48baf3521b18515277f6de)
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/naming_fsmo.c')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/naming_fsmo.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/naming_fsmo.c b/source4/dsdb/samdb/ldb_modules/naming_fsmo.c index d87f4c90cc..ddd357a4c6 100644 --- a/source4/dsdb/samdb/ldb_modules/naming_fsmo.c +++ b/source4/dsdb/samdb/ldb_modules/naming_fsmo.c @@ -52,7 +52,7 @@ static int naming_fsmo_init(struct ldb_module *module) naming_dn = samdb_partitions_dn(module->ldb, mem_ctx); if (!naming_dn) { ldb_debug(module->ldb, LDB_DEBUG_WARNING, - "naming_fsmo_init: no partitions dn present: (skip loading of naming contexts details)\n"); + "naming_fsmo_init: no partitions dn present: (skip loading of naming contexts details)"); talloc_free(mem_ctx); return ldb_next_init(module); } @@ -70,13 +70,13 @@ static int naming_fsmo_init(struct ldb_module *module) &naming_res); if (ret == LDB_ERR_NO_SUCH_OBJECT) { ldb_debug(module->ldb, LDB_DEBUG_WARNING, - "naming_fsmo_init: no partitions dn present: (skip loading of naming contexts details)\n"); + "naming_fsmo_init: no partitions dn present: (skip loading of naming contexts details)"); talloc_free(mem_ctx); return ldb_next_init(module); } if (ret != LDB_SUCCESS) { ldb_debug_set(module->ldb, LDB_DEBUG_FATAL, - "naming_fsmo_init: failed to search the cross-ref container: %s: %s\n", + "naming_fsmo_init: failed to search the cross-ref container: %s: %s", ldb_strerror(ret), ldb_errstring(module->ldb)); talloc_free(mem_ctx); return ret; @@ -84,12 +84,12 @@ static int naming_fsmo_init(struct ldb_module *module) talloc_steal(mem_ctx, naming_res); if (naming_res->count == 0) { ldb_debug(module->ldb, LDB_DEBUG_WARNING, - "naming_fsmo_init: no cross-ref container present: (skip loading of naming contexts details)\n"); + "naming_fsmo_init: no cross-ref container present: (skip loading of naming contexts details)"); talloc_free(mem_ctx); return ldb_next_init(module); } else if (naming_res->count > 1) { ldb_debug_set(module->ldb, LDB_DEBUG_FATAL, - "naming_fsmo_init: [%u] cross-ref containers found on a base search\n", + "naming_fsmo_init: [%u] cross-ref containers found on a base search", naming_res->count); talloc_free(mem_ctx); return LDB_ERR_CONSTRAINT_VIOLATION; @@ -110,7 +110,7 @@ static int naming_fsmo_init(struct ldb_module *module) talloc_steal(module, naming_fsmo); ldb_debug(module->ldb, LDB_DEBUG_TRACE, - "naming_fsmo_init: we are master: %s\n", + "naming_fsmo_init: we are master: %s", (naming_fsmo->we_are_master?"yes":"no")); talloc_free(mem_ctx); |