Use `n_users' in place of `argc - optind' in two more places.
authorJim Meyering <jim@meyering.net>
Fri, 24 Aug 2001 08:41:26 +0000 (08:41 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 24 Aug 2001 08:41:26 +0000 (08:41 +0000)
src/pinky.c

index 53bc33ef5532270ca8e06a9654f1748b6f9d01f0..74d0a8902423c16da90d29d27e8cf8b1780df296 100644 (file)
@@ -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);
 }