summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.c
diff options
context:
space:
mode:
authorMartin Nagy <mnagy@redhat.com>2010-03-03 08:33:22 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-03-04 12:41:31 -0500
commit8f4aaae28c88c707853f8f28d8babc4efe0c1bf6 (patch)
tree478841789251a1ecefb59e3d8f5dc8fe9f35eb37 /src/db/sysdb.c
parent70f4c2a1c476804b4fc409923b6fb7b0c2d2aaf4 (diff)
downloadsssd-8f4aaae28c88c707853f8f28d8babc4efe0c1bf6.tar.gz
sssd-8f4aaae28c88c707853f8f28d8babc4efe0c1bf6.tar.xz
sssd-8f4aaae28c88c707853f8f28d8babc4efe0c1bf6.zip
Add forgotten \n in DEBUG statements
Logs from confdb with missing '\n' in the DEBUG statements annoyed me so I decided to fix them. I also made a quick grep through the code and found other places so I fixed them too.
Diffstat (limited to 'src/db/sysdb.c')
-rw-r--r--src/db/sysdb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/db/sysdb.c b/src/db/sysdb.c
index 41dd4f3f7..815f53d25 100644
--- a/src/db/sysdb.c
+++ b/src/db/sysdb.c
@@ -1629,7 +1629,7 @@ static int sysdb_domain_init_internal(TALLOC_CTX *mem_ctx,
while ((ldif = ldb_ldif_read_string(ctx->ldb, &base_ldif))) {
ret = ldb_add(ctx->ldb, ldif->msg);
if (ret != LDB_SUCCESS) {
- DEBUG(0, ("Failed to initialize DB (%d, [%s]) for domain %s!",
+ DEBUG(0, ("Failed to initialize DB (%d, [%s]) for domain %s!\n",
ret, ldb_errstring(ctx->ldb), domain->name));
ret = EIO;
goto done;
@@ -1657,7 +1657,7 @@ static int sysdb_domain_init_internal(TALLOC_CTX *mem_ctx,
/* do a synchronous add */
ret = ldb_add(ctx->ldb, msg);
if (ret != LDB_SUCCESS) {
- DEBUG(0, ("Failed to initialize DB (%d, [%s]) for domain %s!",
+ DEBUG(0, ("Failed to initialize DB (%d, [%s]) for domain %s!\n",
ret, ldb_errstring(ctx->ldb), domain->name));
ret = EIO;
goto done;
@@ -1685,7 +1685,7 @@ static int sysdb_domain_init_internal(TALLOC_CTX *mem_ctx,
/* do a synchronous add */
ret = ldb_add(ctx->ldb, msg);
if (ret != LDB_SUCCESS) {
- DEBUG(0, ("Failed to initialize DB (%d, [%s]) for domain %s!",
+ DEBUG(0, ("Failed to initialize DB (%d, [%s]) for domain %s!\n",
ret, ldb_errstring(ctx->ldb), domain->name));
ret = EIO;
goto done;
@@ -1713,7 +1713,7 @@ static int sysdb_domain_init_internal(TALLOC_CTX *mem_ctx,
/* do a synchronous add */
ret = ldb_add(ctx->ldb, msg);
if (ret != LDB_SUCCESS) {
- DEBUG(0, ("Failed to initialize DB (%d, [%s]) for domain %s!",
+ DEBUG(0, ("Failed to initialize DB (%d, [%s]) for domain %s!\n",
ret, ldb_errstring(ctx->ldb), domain->name));
ret = EIO;
goto done;