summaryrefslogtreecommitdiff
path: root/lib/readutmp.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-02-03 12:20:59 +0000
committerJim Meyering <jim@meyering.net>2000-02-03 12:20:59 +0000
commit07730c119b1049063a9890322b9f02b3854090af (patch)
tree623cca35627d20ddccbbf0327688b7f7ceafc3fa /lib/readutmp.c
parentce286ec9daa783ac44752e12e22ac47066d867cf (diff)
downloadcoreutils-07730c119b1049063a9890322b9f02b3854090af.tar.xz
(read_utmp): Guard with `#ifdef UTMP_NAME_FUNCTION',
rather than with `#if HAVE_UTMPNAME'.
Diffstat (limited to 'lib/readutmp.c')
-rw-r--r--lib/readutmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/readutmp.c b/lib/readutmp.c
index 1c680f027..e14408add 100644
--- a/lib/readutmp.c
+++ b/lib/readutmp.c
@@ -57,7 +57,7 @@ extract_trimmed_name (const STRUCT_UTMP *ut)
the number of entries, and return zero. If there is any error,
return non-zero and don't modify the parameters. */
-#if HAVE_UTMPNAME
+#ifdef UTMP_NAME_FUNCTION
int
read_utmp (const char *filename, int *n_entries, STRUCT_UTMP **utmp_buf)