Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 1999 22:05:21 +0100 (CET)
From:      Stefan Eggers <seggers@semyam.dinoco.de>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        seggers@semyam.dinoco.de
Subject:   i386/9668: sys/boot/i386/libi386/biosdisk.c still buggy
Message-ID:  <199901242105.WAA02107@semyam.dinoco.de>

next in thread | raw e-mail | index | archive | help

>Number:         9668
>Category:       i386
>Synopsis:       sys/boot/i386/libi386/biosdisk.c still buggy
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 24 17:20:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Eggers
>Release:        FreeBSD 3.0-STABLE i386
>Organization:
none
>Environment:

	A fresh 3.0-stable.

>Description:

	The fix for -current was brought to -stable but with a small
mistake.  unitofs gets ignored due to the parenthesises in the wrong
place.  The problems gets clear by looking long enough at the diff
below.

>How-To-Repeat:

>Fix:
	
Index: biosdisk.c
===================================================================
RCS file: /usr2/FreeBSD/CVSROOT/src/sys/boot/i386/libi386/biosdisk.c,v
retrieving revision 1.20.2.2
diff -u -r1.20.2.2 biosdisk.c
--- biosdisk.c	1999/01/24 17:24:34	1.20.2.2
+++ biosdisk.c	1999/01/24 20:52:33
@@ -802,7 +802,7 @@
 	if ((cp != nip) && (*cp == 0))
 	    unit = i;
     } else {
-	(unit = biosdev & 0x7f) - unitofs;					/* allow for #wd compenstation in da case */
+	unit = (biosdev & 0x7f) - unitofs;					/* allow for #wd compenstation in da case */
     }
 
     rootdev = MAKEBOOTDEV(major,
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901242105.WAA02107>