summaryrefslogtreecommitdiff
path: root/src/pinky.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-03-30 05:21:31 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-03-30 05:21:31 +0000
commit6584af72c9de1b08619f1839b32f17746b34ac3b (patch)
tree8ec019187f4c384927f6e357f406a82e0569fe02 /src/pinky.c
parentc769533ecdb835e8f0e571b3fa2452a03bca39b9 (diff)
downloadcoreutils-6584af72c9de1b08619f1839b32f17746b34ac3b.tar.xz
(short_pinky): Adjust to read_utmp signature change.
Diffstat (limited to 'src/pinky.c')
-rw-r--r--src/pinky.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pinky.c b/src/pinky.c
index 06450e229..029926393 100644
--- a/src/pinky.c
+++ b/src/pinky.c
@@ -488,7 +488,7 @@ short_pinky (const char *filename,
size_t n_users;
STRUCT_UTMP *utmp_buf;
- if (read_utmp (filename, &n_users, &utmp_buf) != 0)
+ if (read_utmp (filename, &n_users, &utmp_buf, 0) != 0)
error (EXIT_FAILURE, errno, "%s", filename);
scan_entries (n_users, utmp_buf, argc_names, argv_names);