]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(short_pinky): Adjust to read_utmp signature change.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 30 Mar 2005 05:21:31 +0000 (05:21 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 30 Mar 2005 05:21:31 +0000 (05:21 +0000)
src/pinky.c

index 06450e2297fa4cec87c51ad43a0abd1dcb33d89a..029926393bc07846e19845b2bf8593dd805555fb 100644 (file)
@@ -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);