diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2015-02-17 16:40:01 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-03-17 14:40:19 +0100 |
commit | 87f8bee53ee1b4ca87b602ff8536bc5fd5b5b595 (patch) | |
tree | bb4ac04a7ec9983ac907e2d90955852be017ac25 /src/tools | |
parent | d81d8d3dc151ebc95cd0e3f3b14c1cdaa48980f1 (diff) | |
download | sssd-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/tools')
-rw-r--r-- | src/tools/files.c | 12 | ||||
-rw-r--r-- | src/tools/sss_sync_ops.c | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/tools/files.c b/src/tools/files.c index f1cede0ce..5b3f9d103 100644 --- a/src/tools/files.c +++ b/src/tools/files.c @@ -516,7 +516,7 @@ copy_entry(struct copy_ctx *cctx, if (ret != 0) { ret = errno; DEBUG(SSSDBG_CRIT_FAILURE, - "couldn't stat '%s': %s", src_ent_path, strerror(ret)); + "couldn't stat '%s': %s\n", src_ent_path, strerror(ret)); goto done; } @@ -577,7 +577,7 @@ copy_dir(struct copy_ctx *cctx, if (dir == NULL) { ret = errno; DEBUG(SSSDBG_CRIT_FAILURE, - "Error reading '%s': %s", src_dir_path, strerror(ret)); + "Error reading '%s': %s\n", src_dir_path, strerror(ret)); goto done; } @@ -590,7 +590,7 @@ copy_dir(struct copy_ctx *cctx, if (ret == -1 && errno != EEXIST) { ret = errno; DEBUG(SSSDBG_CRIT_FAILURE, - "Error reading '%s': %s", dest_dir_path, strerror(ret)); + "Error reading '%s': %s\n", dest_dir_path, strerror(ret)); goto done; } @@ -599,7 +599,7 @@ copy_dir(struct copy_ctx *cctx, if (dest_dir_fd == -1) { ret = errno; DEBUG(SSSDBG_CRIT_FAILURE, - "Error opening '%s': %s", dest_dir_path, strerror(ret)); + "Error opening '%s': %s\n", dest_dir_path, strerror(ret)); goto done; } @@ -628,7 +628,7 @@ copy_dir(struct copy_ctx *cctx, if (ret == -1 && errno != EPERM) { ret = errno; DEBUG(SSSDBG_OP_FAILURE, - "Error changing owner of '%s': %s", + "Error changing owner of '%s': %s\n", dest_dir_path, strerror(ret)); goto done; } @@ -640,7 +640,7 @@ copy_dir(struct copy_ctx *cctx, if (ret == -1) { ret = errno; DEBUG(SSSDBG_OP_FAILURE, - "Error setting mode of '%s': %s", + "Error setting mode of '%s': %s\n", dest_dir_path, strerror(ret)); goto done; } diff --git a/src/tools/sss_sync_ops.c b/src/tools/sss_sync_ops.c index fd401cb4d..e6faedcae 100644 --- a/src/tools/sss_sync_ops.c +++ b/src/tools/sss_sync_ops.c @@ -40,7 +40,7 @@ #define VAR_CHECK(var, val, attr, msg) do { \ if (var != (val)) { \ - DEBUG(SSSDBG_CRIT_FAILURE, msg" attribute: %s", attr); \ + DEBUG(SSSDBG_CRIT_FAILURE, msg" attribute: %s\n", attr); \ return val; \ } \ } while(0) |