summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-09 21:03:29 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-09 21:03:29 +0000
commit81aaa246442ce7eebee731fb793bd41266ce6874 (patch)
tree0fa6213d895d6f7657faf230ecf9d320b03b8d1e
parent53ff88010d28360258512a91b57062f464ddfff9 (diff)
(fetch_procinfo): Pass a reference to PI_FLAGS in call to
fetch_procinfo.
-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;
}