summaryrefslogtreecommitdiff
path: root/sys/dev/isa
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-02-06 22:03:25 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-02-06 22:03:25 +0000
commit9ec0373c90abba62c24ecf1663b040d6515d5431 (patch)
treeebf938a6c1e07494fe3643cbe34b3fcd542a7db5 /sys/dev/isa
parenta2d2b97760e11b1ea18562858b7f22f6a57a789c (diff)
Evil typo; spotted by Thorsten Glaser
Diffstat (limited to 'sys/dev/isa')
-rw-r--r--sys/dev/isa/ega.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/ega.c b/sys/dev/isa/ega.c
index a63a028455a..bc93ef764b1 100644
--- a/sys/dev/isa/ega.c
+++ b/sys/dev/isa/ega.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ega.c,v 1.11 2006/12/02 19:11:11 miod Exp $ */
+/* $OpenBSD: ega.c,v 1.12 2007/02/06 22:03:24 miod Exp $ */
/* $NetBSD: ega.c,v 1.4.4.1 2000/06/30 16:27:47 simonb Exp $ */
/*
@@ -916,7 +916,7 @@ ega_unpack_attr(id, attr, fg, bg, ul)
} else {
*fg = pctoansi[attr & 0x07];
*bg = pctoansi[(attr & 0x70) >> 4];
- if (*ul != NULL)
+ if (ul != NULL)
*ul = 0;
}
if (attr & FG_INTENSE)