summaryrefslogtreecommitdiff
path: root/src/who.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/who.c')
-rw-r--r--src/who.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/who.c b/src/who.c
index 3f3c42257..7f0710893 100644
--- a/src/who.c
+++ b/src/who.c
@@ -747,6 +747,7 @@ main (int argc, char **argv)
switch (argc - optind)
{
+ case -1:
case 0: /* who */
who (UTMP_FILE);
break;