diff options
author | Miles Bader <miles@gnu.org> | 1996-07-02 19:26:34 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-07-02 19:26:34 +0000 |
commit | 21515d1ed64d03e9148d988215f21a7117820f53 (patch) | |
tree | cb757a4fe25a5d576ce587efa5b46f5811715fc8 | |
parent | f1eb93ed0cc3853abb77e5ef47f46d35d7858f62 (diff) |
(proc_stat_set_flags):
Pass PS->task_events_info to task_info, not its address.
-rw-r--r-- | libps/procstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libps/procstat.c b/libps/procstat.c index 14cf5547..5f01ef4e 100644 --- a/libps/procstat.c +++ b/libps/procstat.c @@ -820,7 +820,7 @@ proc_stat_set_flags (struct proc_stat *ps, ps_flags_t flags) ps->task_events_info = &ps->task_events_info_buf; ps->task_events_info_size = TASK_EVENTS_INFO_COUNT; if (task_info (ps->task, TASK_EVENTS_INFO, - (task_info_t)&ps->task_events_info, + (task_info_t)ps->task_events_info, &ps->task_events_info_size) == 0) have |= PSTAT_TASK_EVENTS; |