From: Ruben Kerkhof Date: Fri, 4 Mar 2016 22:15:47 +0000 (+0100) Subject: syslog plugin: constify X-Git-Tag: collectd-5.6.0~436 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=eee0731b3689bdcee2d011493bb2efc43a9773ef;p=collectd.git syslog plugin: constify --- 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)