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/pdc_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/pdc_fsmo.c')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/pdc_fsmo.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/pdc_fsmo.c b/source4/dsdb/samdb/ldb_modules/pdc_fsmo.c index 6a5a3bbc02..d78ba14ab4 100644 --- a/source4/dsdb/samdb/ldb_modules/pdc_fsmo.c +++ b/source4/dsdb/samdb/ldb_modules/pdc_fsmo.c @@ -51,7 +51,7 @@ static int pdc_fsmo_init(struct ldb_module *module) pdc_dn = samdb_base_dn(module->ldb); if (!pdc_dn) { ldb_debug(module->ldb, LDB_DEBUG_WARNING, - "pdc_fsmo_init: no domain dn present: (skip loading of domain details)\n"); + "pdc_fsmo_init: no domain dn present: (skip loading of domain details)"); talloc_free(mem_ctx); return ldb_next_init(module); } @@ -69,7 +69,7 @@ static int pdc_fsmo_init(struct ldb_module *module) &pdc_res); if (ret != LDB_SUCCESS) { ldb_debug_set(module->ldb, LDB_DEBUG_FATAL, - "pdc_fsmo_init: failed to search the domain object: %d:%s\n", + "pdc_fsmo_init: failed to search the domain object: %d:%s", ret, ldb_strerror(ret)); talloc_free(mem_ctx); return ret; @@ -77,12 +77,12 @@ static int pdc_fsmo_init(struct ldb_module *module) talloc_steal(mem_ctx, pdc_res); if (pdc_res->count == 0) { ldb_debug(module->ldb, LDB_DEBUG_WARNING, - "pdc_fsmo_init: no domain object present: (skip loading of domain details)\n"); + "pdc_fsmo_init: no domain object present: (skip loading of domain details)"); talloc_free(mem_ctx); return ldb_next_init(module); } else if (pdc_res->count > 1) { ldb_debug_set(module->ldb, LDB_DEBUG_FATAL, - "pdc_fsmo_init: [%u] domain objects found on a base search\n", + "pdc_fsmo_init: [%u] domain objects found on a base search", pdc_res->count); talloc_free(mem_ctx); return LDB_ERR_CONSTRAINT_VIOLATION; @@ -103,7 +103,7 @@ static int pdc_fsmo_init(struct ldb_module *module) talloc_steal(module, pdc_fsmo); ldb_debug(module->ldb, LDB_DEBUG_TRACE, - "pdc_fsmo_init: we are master: %s\n", + "pdc_fsmo_init: we are master: %s", (pdc_fsmo->we_are_master?"yes":"no")); talloc_free(mem_ctx); |