summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2016-03-06 16:09:28 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2016-03-06 16:09:28 +0000
commit3c609c71c492a912ad7898c1aaf1743cd25e40de (patch)
tree1f9d1d20aba2dc6c046b8fc879ada8a786640ffe
parentd4ccafd0bc3df9e17fc2cc64baa638455d313501 (diff)
Fix typo introduced 5.5 years ago.
Note: this changes the #if test result, but the now #ifdef out code has no effect.
-rw-r--r--xserver/hw/xfree86/os-support/bsd/bsd_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/hw/xfree86/os-support/bsd/bsd_init.c b/xserver/hw/xfree86/os-support/bsd/bsd_init.c
index ff97155f6..8459d4549 100644
--- a/xserver/hw/xfree86/os-support/bsd/bsd_init.c
+++ b/xserver/hw/xfree86/os-support/bsd/bsd_init.c
@@ -286,7 +286,7 @@ acquire_vt:
if (ioctl(xf86Info.consoleFd, VT_SETMODE, &vtmode) < 0) {
FatalError("xf86OpenConsole: VT_SETMODE VT_PROCESS failed");
}
-#if !defined(__0penBSD__) && !defined(USE_DEV_IO) && !defined(USE_I386_IOPL)
+#if !defined(__OpenBSD__) && !defined(USE_DEV_IO) && !defined(USE_I386_IOPL)
if (ioctl(xf86Info.consoleFd, KDENABIO, 0) < 0) {
FatalError("xf86OpenConsole: KDENABIO failed (%s)",
strerror(errno));