summaryrefslogtreecommitdiffstats
path: root/term-utils/agetty.c
diff options
context:
space:
mode:
authorRuediger Meier2016-12-21 22:39:17 +0100
committerRuediger Meier2016-12-21 22:47:36 +0100
commitc43cd8f513917b4837069b4992f478203cc1a8d4 (patch)
treef6d8ef8f8907d7a31418a62da277cd54a9957f3c /term-utils/agetty.c
parenttests: add new findmnt --options tests (diff)
downloadkernel-qcow2-util-linux-c43cd8f513917b4837069b4992f478203cc1a8d4.tar.gz
kernel-qcow2-util-linux-c43cd8f513917b4837069b4992f478203cc1a8d4.tar.xz
kernel-qcow2-util-linux-c43cd8f513917b4837069b4992f478203cc1a8d4.zip
agetty: fix ifdef typo
introduced in 77835be2 Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'term-utils/agetty.c')
-rw-r--r--term-utils/agetty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term-utils/agetty.c b/term-utils/agetty.c
index 95236ce97..a2d367bac 100644
--- a/term-utils/agetty.c
+++ b/term-utils/agetty.c
@@ -56,7 +56,7 @@
#if defined(__FreeBSD_kernel__)
# include <pty.h>
-# ifdef HAVE_UTMPX_H
+# ifdef HAVE_UTMP_H
# include <utmp.h>
# endif
# ifdef HAVE_LIBUTIL_H