projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
collectd.conf: Added a short explanation to the 'Interval' setting.
[collectd.git]
/
src
/
processes.c
diff --git
a/src/processes.c
b/src/processes.c
index
dcdaaf2
..
c77859d
100644
(file)
--- a/
src/processes.c
+++ b/
src/processes.c
@@
-1230,10
+1230,8
@@
static int ps_read_process(int pid, procstat_t *ps, char *state)
{
char filename[64];
char f_psinfo[64], f_usage[64];
- int i;
char *buffer;
-
pstatus_t *myStatus;
psinfo_t *myInfo;
prusage_t *myUsage;
@@
-2080,7
+2078,7
@@
static int ps_read (void)
procstat_t *ps_ptr;
char state;
- char cmdline[
ARG_MAX
];
+ char cmdline[
PRARGSZ
];
ps_list_reset ();