diff options
author | Martin Nagy <mnagy@redhat.com> | 2010-03-03 08:33:22 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-03-04 12:41:31 -0500 |
commit | 8f4aaae28c88c707853f8f28d8babc4efe0c1bf6 (patch) | |
tree | 478841789251a1ecefb59e3d8f5dc8fe9f35eb37 /src/confdb | |
parent | 70f4c2a1c476804b4fc409923b6fb7b0c2d2aaf4 (diff) | |
download | sssd-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/confdb')
-rw-r--r-- | src/confdb/confdb.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/confdb/confdb.c b/src/confdb/confdb.c index c46b76565..877b80ac7 100644 --- a/src/confdb/confdb.c +++ b/src/confdb/confdb.c @@ -207,7 +207,7 @@ int confdb_add_param(struct confdb_ctx *cdb, done: talloc_free(tmp_ctx); if (ret != EOK) { - DEBUG(1, ("Failed to add [%s] to [%s], error [%d] (%s)", + DEBUG(1, ("Failed to add [%s] to [%s], error [%d] (%s)\n", attribute, section, ret, strerror(ret))); } return ret; @@ -283,7 +283,7 @@ int confdb_get_param(struct confdb_ctx *cdb, done: talloc_free(tmp_ctx); if (ret != EOK) { - DEBUG(1, ("Failed to get [%s] from [%s], error [%d] (%s)", + DEBUG(1, ("Failed to get [%s] from [%s], error [%d] (%s)\n", attribute, section, ret, strerror(ret))); } return ret; @@ -333,7 +333,7 @@ int confdb_get_string(struct confdb_ctx *cdb, TALLOC_CTX *ctx, failed: talloc_free(values); - DEBUG(1, ("Failed to get [%s] from [%s], error [%d] (%s)", + DEBUG(1, ("Failed to get [%s] from [%s], error [%d] (%s)\n", attribute, section, ret, strerror(ret))); return ret; } @@ -381,7 +381,7 @@ int confdb_get_int(struct confdb_ctx *cdb, TALLOC_CTX *ctx, failed: talloc_free(values); - DEBUG(1, ("Failed to read [%s] from [%s], error [%d] (%s)", + DEBUG(1, ("Failed to read [%s] from [%s], error [%d] (%s)\n", attribute, section, ret, strerror(ret))); return ret; } @@ -424,7 +424,7 @@ long confdb_get_long(struct confdb_ctx *cdb, TALLOC_CTX *ctx, failed: talloc_free(values); - DEBUG(1, ("Failed to read [%s] from [%s], error [%d] (%s)", + DEBUG(1, ("Failed to read [%s] from [%s], error [%d] (%s)\n", attribute, section, ret, strerror(ret))); return ret; } @@ -473,7 +473,7 @@ int confdb_get_bool(struct confdb_ctx *cdb, TALLOC_CTX *ctx, failed: talloc_free(values); - DEBUG(1, ("Failed to read [%s] from [%s], error [%d] (%s)", + DEBUG(1, ("Failed to read [%s] from [%s], error [%d] (%s)\n", attribute, section, ret, strerror(ret))); return ret; } @@ -509,7 +509,7 @@ int confdb_get_string_as_list(struct confdb_ctx *cdb, TALLOC_CTX *ctx, done: talloc_free(values); if (ret != EOK && ret != ENOENT) { - DEBUG(2, ("Failed to get [%s] from [%s], error [%d] (%s)", + DEBUG(2, ("Failed to get [%s] from [%s], error [%d] (%s)\n", attribute, section, ret, strerror(ret))); } return ret; |