diff options
author | Miles Bader <miles@gnu.org> | 1995-11-03 00:55:10 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-11-03 00:55:10 +0000 |
commit | 7ee780b5f5d64c4f295db2760586d497cdfa1569 (patch) | |
tree | 77598bad5514eb3c686a8bb584e264fc9524e66b /libps | |
parent | 9146d8e9ef629fa749ef85a4b11756e5c81b3ade (diff) |
(ps_own_filter): Use PSTAT_PROC_INFO, not PSTAT_INFO.
(ps_own_p): Use proc_stat_proc_info, not proc_stat_info.
Diffstat (limited to 'libps')
-rw-r--r-- | libps/filters.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libps/filters.c b/libps/filters.c index d47a130f..0efc7436 100644 --- a/libps/filters.c +++ b/libps/filters.c @@ -36,10 +36,10 @@ ps_own_p(proc_stat_t ps) static int own_uid = -1; if (own_uid < 0) own_uid = getuid(); - return own_uid == proc_stat_info(ps)->owner; + return own_uid == proc_stat_proc_info(ps)->owner; } struct ps_filter ps_own_filter = -{"own", PSTAT_INFO, ps_own_p}; +{"own", PSTAT_PROC_INFO, ps_own_p}; static bool ps_not_sess_leader_p(proc_stat_t ps) |