summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9d377e1)
raw | patch | inline | side by side (parent: 9d377e1)
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)
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 1b44e1537153afbef6edc546739c6a174791d961..b4ee50460d947bfb04359119ef3c6bdd5504bae5 100644 (file)
--- a/src/collectd.c
+++ b/src/collectd.c
return (1);
}
- fprintf (fh, "%d\n", getpid());
+ fprintf (fh, "%i\n", (int) getpid ());
fclose(fh);
return (0);