projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e50eb3
)
collectdmon: mark pidfile as const
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 16:57:26 +0000
(17:57 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 16:57:26 +0000
(17:57 +0100)
src/collectdmon.c
patch
|
blob
|
history
diff --git
a/src/collectdmon.c
b/src/collectdmon.c
index
a5ed065
..
2c1d589
100644
(file)
--- a/
src/collectdmon.c
+++ b/
src/collectdmon.c
@@
-66,8
+66,8
@@
static int loop = 0;
static int restart = 0;
-static c
har
*pidfile = NULL;
-static pid_t collectd_pid = 0;
+static c
onst char
*pidfile = NULL;
+static pid_t
collectd_pid = 0;
__attribute__((noreturn))
static void exit_usage (const char *name)