summaryrefslogtreecommitdiffstats
path: root/src/responder/sudo
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-02-17 16:40:01 +0100
committerJakub Hrozek <jhrozek@redhat.com>2015-03-17 14:40:19 +0100
commit87f8bee53ee1b4ca87b602ff8536bc5fd5b5b595 (patch)
treebb4ac04a7ec9983ac907e2d90955852be017ac25 /src/responder/sudo
parentd81d8d3dc151ebc95cd0e3f3b14c1cdaa48980f1 (diff)
downloadsssd-87f8bee53ee1b4ca87b602ff8536bc5fd5b5b595.tar.gz
sssd-87f8bee53ee1b4ca87b602ff8536bc5fd5b5b595.tar.xz
sssd-87f8bee53ee1b4ca87b602ff8536bc5fd5b5b595.zip
Add missing new lines to debug messages
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/responder/sudo')
-rw-r--r--src/responder/sudo/sudosrv_get_sudorules.c2
-rw-r--r--src/responder/sudo/sudosrv_query.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/responder/sudo/sudosrv_get_sudorules.c b/src/responder/sudo/sudosrv_get_sudorules.c
index ac9587714..34d63bd74 100644
--- a/src/responder/sudo/sudosrv_get_sudorules.c
+++ b/src/responder/sudo/sudosrv_get_sudorules.c
@@ -664,7 +664,7 @@ static errno_t sudosrv_get_sudorules_query_cache(TALLOC_CTX *mem_ctx,
SUDORULE_SUBDIR, attrs,
&count, &msgs);
if (ret != EOK && ret != ENOENT) {
- DEBUG(SSSDBG_CRIT_FAILURE, "Error looking up SUDO rules");
+ DEBUG(SSSDBG_CRIT_FAILURE, "Error looking up SUDO rules\n");
goto done;
} if (ret == ENOENT) {
*_rules = NULL;
diff --git a/src/responder/sudo/sudosrv_query.c b/src/responder/sudo/sudosrv_query.c
index 4d19514cd..4cb07e32b 100644
--- a/src/responder/sudo/sudosrv_query.c
+++ b/src/responder/sudo/sudosrv_query.c
@@ -109,7 +109,7 @@ static int sudosrv_response_append_attr(TALLOC_CTX *mem_ctx,
/* values */
for (i = 0; i < values_num; i++) {
if (strlen((char*)(values[i].data)) != values[i].length) {
- DEBUG(SSSDBG_CRIT_FAILURE, "value is not a string");
+ DEBUG(SSSDBG_CRIT_FAILURE, "value is not a string\n");
ret = EINVAL;
goto done;
}