diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2015-02-17 16:40:01 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-02-18 16:16:50 +0100 |
commit | 7bc69afc71c0b8f48bdbf0b5b79d229a47aa49f2 (patch) | |
tree | df7e8f5e6b299def0fa9ba3388da441392c5fc51 /src/monitor | |
parent | 46020d2dbb0f092fca7ec2a27e8c822543ab50fd (diff) | |
download | sssd-7bc69afc71c0b8f48bdbf0b5b79d229a47aa49f2.tar.gz sssd-7bc69afc71c0b8f48bdbf0b5b79d229a47aa49f2.tar.xz sssd-7bc69afc71c0b8f48bdbf0b5b79d229a47aa49f2.zip |
Add missing new lines to debug messages
Reviewed-by: Pavel Reichl <preichl@redhat.com>
Diffstat (limited to 'src/monitor')
-rw-r--r-- | src/monitor/monitor.c | 6 | ||||
-rw-r--r-- | src/monitor/monitor_netlink.c | 16 |
2 files changed, 11 insertions, 11 deletions
diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c index f171c05ac..5611bb9ea 100644 --- a/src/monitor/monitor.c +++ b/src/monitor/monitor.c @@ -998,9 +998,9 @@ static int get_monitor_config(struct mt_ctx *ctx) ret = add_implicit_services(ctx->cdb, ctx, &ctx->services); if (ret != EOK) { - DEBUG(SSSDBG_OP_FAILURE, "Failed to add implicit configured " \ - "services. Some functionality might " \ - "be missing"); + DEBUG(SSSDBG_OP_FAILURE, "Failed to add implicit configured " + "services. Some functionality might " + "be missing\n"); } badsrv = check_services(ctx->services); diff --git a/src/monitor/monitor_netlink.c b/src/monitor/monitor_netlink.c index 51e8ffe47..7e6f8cbbd 100644 --- a/src/monitor/monitor_netlink.c +++ b/src/monitor/monitor_netlink.c @@ -220,7 +220,7 @@ static bool has_phy_80211_subdir(const char *sysfs_path) ret = snprintf(phy80211_path, SYSFS_SUBDIR_PATH_MAX, "%s/%s", sysfs_path, PHY_80211_SUBDIR); if (ret < 0) { - DEBUG(SSSDBG_OP_FAILURE, "snprintf failed"); + DEBUG(SSSDBG_OP_FAILURE, "snprintf failed\n"); return false; } else if (ret >= SYSFS_SUBDIR_PATH_MAX) { DEBUG(SSSDBG_OP_FAILURE, "path too long?!?!\n"); @@ -263,7 +263,7 @@ static bool discard_iff_up(const char *ifname) ret = snprintf(path, SYSFS_IFACE_PATH_MAX, SYSFS_IFACE_TEMPLATE, ifname); if (ret < 0) { - DEBUG(SSSDBG_OP_FAILURE, "snprintf failed"); + DEBUG(SSSDBG_OP_FAILURE, "snprintf failed\n"); return false; } else if (ret >= SYSFS_IFACE_PATH_MAX) { DEBUG(SSSDBG_OP_FAILURE, "path too long?!?!\n"); @@ -339,8 +339,8 @@ static bool nlw_accept_message(struct nlw_handle *nlp, } if (accept_msg == false) { - DEBUG(SSSDBG_TRACE_ALL, "ignoring netlink message from PID %d", - hdr->nlmsg_pid); + DEBUG(SSSDBG_TRACE_ALL, + "ignoring netlink message from PID %d\n", hdr->nlmsg_pid); } return accept_msg; @@ -475,8 +475,8 @@ static int event_msg_recv(struct nl_msg *msg, void *arg) creds = nlmsg_get_creds(msg); if (!creds || creds->uid != 0) { DEBUG(SSSDBG_TRACE_ALL, - "Ignoring netlink message from UID %"SPRIuid, - creds ? creds->uid : (uid_t)-1); + "Ignoring netlink message from UID %"SPRIuid"\n", + creds ? creds->uid : (uid_t)-1); return NL_SKIP; } @@ -754,8 +754,8 @@ int setup_netlink(TALLOC_CTX *mem_ctx, struct tevent_context *ev, /* allocate the libnl handle/socket and register the default filter set */ nlctx->nlp = nlw_alloc(); if (!nlctx->nlp) { - DEBUG(SSSDBG_CRIT_FAILURE, ("unable to allocate netlink handle: %s"), - nlw_geterror(ENOMEM)); + DEBUG(SSSDBG_CRIT_FAILURE, + "unable to allocate netlink handle: %s\n", nlw_geterror(ENOMEM)); ret = ENOMEM; goto fail; } |