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:
59f66af
)
(who): rename users to n_users
author
Jim Meyering
<jim@meyering.net>
Sun, 13 Jul 1997 02:51:34 +0000
(
02:51
+0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 13 Jul 1997 02:51:34 +0000
(
02:51
+0000)
src/who.c
patch
|
blob
|
history
diff --git
a/src/who.c
b/src/who.c
index 9e9cbe0bcf17e3def8ef1b54f25a5b30072d1652..82213ac06d56d5e4c13e961da306f9e1b7807bd0 100644
(file)
--- a/
src/who.c
+++ b/
src/who.c
@@
-273,11
+273,11
@@
scan_entries (int n)
static void
who (const char *filename)
{
- int users = read_utmp (filename);
+ int
n_
users = read_utmp (filename);
if (short_list)
- list_entries_who (users);
+ list_entries_who (
n_
users);
else
- scan_entries (users);
+ scan_entries (
n_
users);
}
/* Search `utmp_contents', which should have N entries, for