projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
815daff
)
Use `n_users' in place of `argc - optind' in two more places.
author
Jim Meyering
<jim@meyering.net>
Fri, 24 Aug 2001 08:41:26 +0000
(08:41 +0000)
committer
Jim Meyering
<jim@meyering.net>
Fri, 24 Aug 2001 08:41:26 +0000
(08:41 +0000)
src/pinky.c
patch
|
blob
|
history
diff --git
a/src/pinky.c
b/src/pinky.c
index 53bc33ef5532270ca8e06a9654f1748b6f9d01f0..74d0a8902423c16da90d29d27e8cf8b1780df296 100644
(file)
--- 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);
}