Bleh. Missing 'unit =' doesn't help legacy num_ide_disks code.

PR:		bin/9651
Submitted by:	"Daniel C. Sobral" <dcs@newsguy.com>
This commit is contained in:
Mike Smith 1999-01-24 06:03:44 +00:00
parent 68af6d169b
commit 84ef5a8f66

View File

@ -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,