X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fsyslog.c;h=849f7d1b1331a04daec6de6d6888c6234044912d;hb=c6557cb8950f50a41a1decfb34439b060e2fd371;hp=3f73178fa5e09283dec5efee71f57a3d941b0735;hpb=d9db39b8e8b5e9a34d955d057574f6ddd00759e6;p=collectd.git diff --git a/src/syslog.c b/src/syslog.c index 3f73178f..849f7d1b 100644 --- a/src/syslog.c +++ b/src/syslog.c @@ -90,7 +90,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)