summaryrefslogtreecommitdiff
path: root/src/users.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.c')
-rw-r--r--src/users.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.c b/src/users.c
index 6067724c6..83192ae45 100644
--- a/src/users.c
+++ b/src/users.c
@@ -102,7 +102,7 @@ users (const char *filename)
int fail = read_utmp (filename, &n_users, &utmp_buf);
if (fail)
- error (1, errno, "%s", filename);
+ error (EXIT_FAILURE, errno, "%s", filename);
list_entries_users (n_users, utmp_buf);
}