From: Paul Eggert Date: Tue, 30 Nov 2004 21:40:52 +0000 (+0000) Subject: (list_entries_users): Use IS_USER_PROCESS X-Git-Tag: COREUTILS-5_3_0~257 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a0d8525938e2e7c8d83083f795581f8ab6a5a28b;p=platform%2Fupstream%2Fcoreutils.git (list_entries_users): Use IS_USER_PROCESS instead of by-hand code. --- 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;