Date: Sun, 24 Jan 1999 12:34:28 +0900 (JST) From: dcs@newsguy.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/9651: Typo in biosdisk.c Message-ID: <199901240334.MAA01857@daniel.sobral>
next in thread | raw e-mail | index | archive | help
>Number: 9651 >Category: bin >Synopsis: When num_ide_disks got deprecated, it also got no-oped >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 23 19:40:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Daniel C. Sobral >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: src/sys/boot/i386/libi386/biosdisk.c, as of Jan 24 (in Japan, at least :) >Description: Missing "unit =". >How-To-Repeat: Try to use old num_ide_disks method. Alas, it will break existing configurations. >Fix: Apply the following fix: --- biosdisk.c.orig Sun Jan 24 12:28:43 1999 +++ biosdisk.c Sun Jan 24 12:29:01 1999 @@ -802,7 +802,7 @@ 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, >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?199901240334.MAA01857>