projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix this (a pointer was compared with an integer):
[collectd.git]
/
src
/
collectd.c
diff --git
a/src/collectd.c
b/src/collectd.c
index
1b44e15
..
b4ee504
100644
(file)
--- a/
src/collectd.c
+++ b/
src/collectd.c
@@
-256,7
+256,7
@@
static int pidfile_create (const char *file)
return (1);
}
- fprintf (fh, "%
d\n", getpid
());
+ fprintf (fh, "%
i\n", (int) getpid
());
fclose(fh);
return (0);