From a0d8525938e2e7c8d83083f795581f8ab6a5a28b Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 30 Nov 2004 21:40:52 +0000 Subject: [PATCH] (list_entries_users): Use IS_USER_PROCESS instead of by-hand code. --- src/users.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/users.c b/src/users.c index 83e33d9e1..a8851f348 100644 --- a/src/users.c +++ b/src/users.c @@ -54,11 +54,7 @@ list_entries_users (size_t n, const STRUCT_UTMP *this) while (n--) { - if (UT_USER (this) [0] -#ifdef USER_PROCESS - && this->ut_type == USER_PROCESS -#endif - ) + if (IS_USER_PROCESS (this)) { char *trimmed_name; -- 2.34.1