X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fcollectdmon.c;h=2c1d58978bc175221bf3fd71448b2930c0a4aaab;hb=a82395b57384541152423862bcf44c0db7789641;hp=a5ed065d5340721cd484d60ebaf62c0a3ef0909d;hpb=9b1ae7f672fd2712b452a58e0682cdea2e34c0f8;p=collectd.git 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)