summaryrefslogtreecommitdiff
path: root/src/users.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.c')
-rw-r--r--src/users.c6
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;