From c224e6ad66ec807226215e7e7ca196c551e2744a Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Wed, 24 Sep 1997 22:43:00 +0000 Subject: overflow can bite anyways, increment word --- sys/arch/i386/stand/libsa/biosdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch') diff --git a/sys/arch/i386/stand/libsa/biosdev.c b/sys/arch/i386/stand/libsa/biosdev.c index b73ecac79d2..2601755c950 100644 --- a/sys/arch/i386/stand/libsa/biosdev.c +++ b/sys/arch/i386/stand/libsa/biosdev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: biosdev.c,v 1.34 1997/09/17 17:50:40 mickey Exp $ */ +/* $OpenBSD: biosdev.c,v 1.35 1997/09/24 22:42:59 mickey Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff @@ -94,7 +94,7 @@ biosd_rw(int rw, int dev, int cyl, int head, int sect, int nsect, void* buf) "xchgb %%ch, %%cl\n\t" "rorb $2, %%cl\n\t" "orb %b5, %%cl\n\t" - "incb %%cl\n\t" + "incl %%cx\n\t" DOINT(0x13) "\n\t" "setc %b0" : "=a" (rv) -- cgit v1.2.3