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:
182c784
)
(read_utmp): Declare n_read to be of type size_t rather than int.
author
Jim Meyering
<jim@meyering.net>
Sat, 16 Mar 1996 05:44:02 +0000
(
05:44
+0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 16 Mar 1996 05:44:02 +0000
(
05:44
+0000)
src/who-users.c
patch
|
blob
|
history
diff --git
a/src/who-users.c
b/src/who-users.c
index 4cc9206abe16a1634fddd132fce988e4aeeb8973..2313e4bb5c1eb1300e4b88de7b431e500a2160be 100644
(file)
--- a/
src/who-users.c
+++ b/
src/who-users.c
@@
-410,7
+410,7
@@
read_utmp (char *filename)
{
FILE *utmp;
struct stat file_stats;
-
in
t n_read;
+
size_
t n_read;
size_t size;
utmp = fopen (filename, "r");