summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-08-24 08:41:26 +0000
committerJim Meyering <jim@meyering.net>2001-08-24 08:41:26 +0000
commit9c2368bab8f03b585226c988f832f5f9383ac3e7 (patch)
tree755c7656d4ea6aaea3783809e5f3320314329b3a /src
parent815dafff5a635c3417fe1ef32437527c44bc71db (diff)
downloadcoreutils-9c2368bab8f03b585226c988f832f5f9383ac3e7.tar.xz
Use `n_users' in place of `argc - optind' in two more places.
Diffstat (limited to 'src')
-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);
}