From 7ee780b5f5d64c4f295db2760586d497cdfa1569 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 3 Nov 1995 00:55:10 +0000 Subject: (ps_own_filter): Use PSTAT_PROC_INFO, not PSTAT_INFO. (ps_own_p): Use proc_stat_proc_info, not proc_stat_info. --- libps/filters.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libps') 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) -- cgit v1.2.3