summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-03-16 05:44:02 +0000
committerJim Meyering <jim@meyering.net>1996-03-16 05:44:02 +0000
commit2e5cc5e04e97b90db1442bb6f0a1abb2bc5b84a6 (patch)
tree156ed03bb8d404d19239c17d8f825c02457a42a8 /src
parent182c784a997ee62470118058e441a5edc00142f3 (diff)
downloadcoreutils-2e5cc5e04e97b90db1442bb6f0a1abb2bc5b84a6.tar.xz
(read_utmp): Declare n_read to be of type size_t rather than int.
Diffstat (limited to 'src')
-rw-r--r--src/who-users.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/who-users.c b/src/who-users.c
index 4cc9206ab..2313e4bb5 100644
--- a/src/who-users.c
+++ b/src/who-users.c
@@ -410,7 +410,7 @@ read_utmp (char *filename)
{
FILE *utmp;
struct stat file_stats;
- int n_read;
+ size_t n_read;
size_t size;
utmp = fopen (filename, "r");