X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fsyslog.c;h=73e5e1f39fa440376fe2aa353b019b0690925a6f;hb=04f27bdd38966e0b826b283d8790ce31fb467929;hp=3f73178fa5e09283dec5efee71f57a3d941b0735;hpb=6258e772d808f4e76ea8e23d9e2750cfc7e6c60d;p=collectd.git diff --git a/src/syslog.c b/src/syslog.c index 3f73178f..73e5e1f3 100644 --- a/src/syslog.c +++ b/src/syslog.c @@ -25,6 +25,7 @@ **/ #include "collectd.h" + #include "common.h" #include "plugin.h" @@ -90,7 +91,7 @@ static int sl_notification (const notification_t *n, char buf[1024] = ""; size_t offset = 0; int log_severity; - char *severity_string; + const char *severity_string; int status; if (n->severity > notif_severity)