diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-11-30 21:40:52 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-11-30 21:40:52 +0000 |
commit | a0d8525938e2e7c8d83083f795581f8ab6a5a28b (patch) | |
tree | 45c325716afe97c46a493471d10c442dd06cd798 /src | |
parent | 78a436fb0b497d613309a4cf7a61098dbfa072cc (diff) | |
download | coreutils-a0d8525938e2e7c8d83083f795581f8ab6a5a28b.tar.xz |
(list_entries_users): Use IS_USER_PROCESS
instead of by-hand code.
Diffstat (limited to 'src')
-rw-r--r-- | src/users.c | 6 |
1 files changed, 1 insertions, 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; |