projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d377e1
)
Fix for this:
author
octo
<octo>
Fri, 21 Apr 2006 07:20:53 +0000
(07:20 +0000)
committer
octo
<octo>
Fri, 21 Apr 2006 07:20:53 +0000
(07:20 +0000)
collectd.c: In function `pidfile_create':
collectd.c:259: warning: int format, pid_t arg (arg 3)
src/collectd.c
patch
|
blob
|
history
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);