From 84ef5a8f66bfc718e21c4209c919060385e18aeb Mon Sep 17 00:00:00 2001 From: Mike Smith Date: Sun, 24 Jan 1999 06:03:44 +0000 Subject: [PATCH] Bleh. Missing 'unit =' doesn't help legacy num_ide_disks code. PR: bin/9651 Submitted by: "Daniel C. Sobral" --- sys/boot/i386/libi386/biosdisk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/boot/i386/libi386/biosdisk.c b/sys/boot/i386/libi386/biosdisk.c index 6ded4fd37b3..9a840301a77 100644 --- a/sys/boot/i386/libi386/biosdisk.c +++ b/sys/boot/i386/libi386/biosdisk.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: biosdisk.c,v 1.20 1999/01/10 18:22:23 steve Exp $ + * $Id: biosdisk.c,v 1.21 1999/01/24 00:12:04 msmith Exp $ */ /* @@ -802,7 +802,7 @@ bd_getdev(struct i386_devdesc *dev) if ((cp != nip) && (*cp == 0)) unit = i; } else { - (biosdev & 0x7f) - unitofs; /* allow for #wd compenstation in da case */ + unit = (biosdev & 0x7f) - unitofs; /* allow for #wd compenstation in da case */ } rootdev = MAKEBOOTDEV(major,