summaryrefslogtreecommitdiffstats
path: root/src/responder/nss
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/responder/nss
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/responder/nss')
-rw-r--r--src/responder/nss/nsssrv_cmd.c4
-rw-r--r--src/responder/nss/nsssrv_nc.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/responder/nss/nsssrv_cmd.c b/src/responder/nss/nsssrv_cmd.c
index 46d4a2361..c43a544eb 100644
--- a/src/responder/nss/nsssrv_cmd.c
+++ b/src/responder/nss/nsssrv_cmd.c
@@ -75,13 +75,13 @@ static int nss_cmd_send_error(struct nss_cmd_ctx *cmdctx, int err)
}
#define NSS_CMD_FATAL_ERROR(cctx) do { \
- DEBUG(1,("Fatal error, killing connection!")); \
+ DEBUG(1,("Fatal error, killing connection!\n")); \
talloc_free(cctx); \
return; \
} while(0)
#define NSS_CMD_FATAL_ERROR_CODE(cctx, ret) do { \
- DEBUG(1,("Fatal error, killing connection!")); \
+ DEBUG(1,("Fatal error, killing connection!\n")); \
talloc_free(cctx); \
return ret; \
} while(0)
diff --git a/src/responder/nss/nsssrv_nc.c b/src/responder/nss/nsssrv_nc.c
index 1fa7d612f..8d8ef01c1 100644
--- a/src/responder/nss/nsssrv_nc.c
+++ b/src/responder/nss/nsssrv_nc.c
@@ -141,7 +141,7 @@ static int nss_ncache_set_str(struct nss_nc_ctx *ctx,
ret = tdb_store(ctx->tdb, key, data, TDB_REPLACE);
if (ret != 0) {
- DEBUG(1, ("Negative cache failed to set entry: [%s]",
+ DEBUG(1, ("Negative cache failed to set entry: [%s]\n",
tdb_errorstr(ctx->tdb)));
ret = EFAULT;
}