summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/stand/libsa/bioscons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/libsa/bioscons.c b/sys/arch/i386/stand/libsa/bioscons.c
index bc75de64d00..a495898418a 100644
--- a/sys/arch/i386/stand/libsa/bioscons.c
+++ b/sys/arch/i386/stand/libsa/bioscons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bioscons.c,v 1.7 1997/08/31 06:56:39 mickey Exp $ */
+/* $OpenBSD: bioscons.c,v 1.8 1997/09/02 20:36:57 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -75,7 +75,7 @@ pc_getc(dev)
register int rv;
if (dev & 0x80) {
- __asm __volatile(DOINT(0x16) "; setnz %%al" : "=a" (rv) :
+ __asm __volatile(DOINT(0x16) "; setnz %b0" : "=a" (rv) :
"0" (0x100) : "%ecx", "%edx", "cc" );
return (rv & 0xff);
}