summaryrefslogtreecommitdiff
path: root/src/who.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-07-13 02:51:34 +0000
committerJim Meyering <jim@meyering.net>1997-07-13 02:51:34 +0000
commitb18c5abf1c3d8ffa70de0ee6f3e036c3ef5d0747 (patch)
tree9d072d626ba0b10ed7e404ffc46a152e3b9eea54 /src/who.c
parent59f66af0f4fb311c94ae99535c237cd1a0d4e953 (diff)
downloadcoreutils-b18c5abf1c3d8ffa70de0ee6f3e036c3ef5d0747.tar.xz
(who): rename users to n_users
Diffstat (limited to 'src/who.c')
-rw-r--r--src/who.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/who.c b/src/who.c
index 9e9cbe0bc..82213ac06 100644
--- 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