summaryrefslogtreecommitdiff
path: root/libps/procstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libps/procstat.c')
-rw-r--r--libps/procstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libps/procstat.c b/libps/procstat.c
index 84d81121..9c674bf2 100644
--- a/libps/procstat.c
+++ b/libps/procstat.c
@@ -110,7 +110,7 @@ fetch_procinfo (process_t server, pid_t pid,
if (pi_flags || ((need & PSTAT_PROC_INFO) && !(have & PSTAT_PROC_INFO)))
{
error_t err =
- proc_getprocinfo (server, pid, pi_flags, (procinfo_t *)pi, pi_size,
+ proc_getprocinfo (server, pid, &pi_flags, (procinfo_t *)pi, pi_size,
waits, waits_len);
return err;
}