X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnotify_desktop.c;h=520a2804c4b51a4d8d40ebc10e0f5c23c421a457;hb=8f6aa6970bf787e6a11e095322af3338ec781d78;hp=e391cf275c04410ac76b67bbf6c896977f0fc74f;hpb=7111bb6df7628edce3a8e538b386fbe27633a191;p=collectd.git diff --git a/src/notify_desktop.c b/src/notify_desktop.c index e391cf27..520a2804 100644 --- a/src/notify_desktop.c +++ b/src/notify_desktop.c @@ -30,8 +30,8 @@ #include "collectd.h" -#include "common.h" #include "plugin.h" +#include "utils/common/common.h" #include #include @@ -93,7 +93,7 @@ static int c_notify(const notification_t *n, timeout = fail_timeout; } - snprintf(summary, sizeof(summary), "collectd %s notification", + ssnprintf(summary, sizeof(summary), "collectd %s notification", (NOTIF_FAILURE == n->severity) ? "FAILURE" : (NOTIF_WARNING == n->severity)