summaryrefslogtreecommitdiff
path: root/libps
diff options
context:
space:
mode:
Diffstat (limited to 'libps')
-rw-r--r--libps/procstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libps/procstat.c b/libps/procstat.c
index 13f18292..6e920f4f 100644
--- a/libps/procstat.c
+++ b/libps/procstat.c
@@ -961,7 +961,7 @@ proc_stat_set_flags (struct proc_stat *ps, ps_flags_t flags)
when creating a file. */
MP_MGET (PSTAT_UMASK, PSTAT_TASK,
ps_msg_get_init_int (ps->msgport, ps->task, INIT_UMASK,
- &ps->umask));
+ (int *) &ps->umask));
if (NEED (PSTAT_OWNER_UID, PSTAT_PROC_INFO))
{