From: Ruben Kerkhof Date: Sat, 5 Mar 2016 16:57:26 +0000 (+0100) Subject: collectdmon: mark pidfile as const X-Git-Tag: collectd-5.6.0~412 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6fc1aeb99cb939c4566f050c819ed6484b6f4e64;p=collectd.git collectdmon: mark pidfile as const --- diff --git a/src/collectdmon.c b/src/collectdmon.c index a5ed065d..2c1d5897 100644 --- a/src/collectdmon.c +++ b/src/collectdmon.c @@ -66,8 +66,8 @@ static int loop = 0; static int restart = 0; -static char *pidfile = NULL; -static pid_t collectd_pid = 0; +static const char *pidfile = NULL; +static pid_t collectd_pid = 0; __attribute__((noreturn)) static void exit_usage (const char *name)