summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pinky.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pinky.c b/src/pinky.c
index 53bc33ef5..74d0a8902 100644
--- a/src/pinky.c
+++ b/src/pinky.c
@@ -573,9 +573,9 @@ main (int argc, char **argv)
}
if (do_short_format)
- short_pinky (UTMP_FILE, argc - optind, argv + optind);
+ short_pinky (UTMP_FILE, n_users, argv + optind);
else
- long_pinky (argc - optind, argv + optind);
+ long_pinky (n_users, argv + optind);
exit (0);
}