summaryrefslogtreecommitdiff
path: root/sys/pc98/boot/biosboot/sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pc98/boot/biosboot/sys.c')
-rw-r--r--sys/pc98/boot/biosboot/sys.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pc98/boot/biosboot/sys.c b/sys/pc98/boot/biosboot/sys.c
index dcf96bac7d31..795b2c21043d 100644
--- a/sys/pc98/boot/biosboot/sys.c
+++ b/sys/pc98/boot/biosboot/sys.c
@@ -24,7 +24,7 @@
* the rights to redistribute these changes.
*
* from: Mach, Revision 2.2 92/04/04 11:36:34 rpd
- * $Id: sys.c,v 1.11 1996/04/07 14:28:03 bde Exp $
+ * $Id: sys.c,v 1.1.1.1 1996/06/14 10:04:37 asami Exp $
*/
/*
@@ -248,9 +248,9 @@ openrd(void)
#ifdef PC98
dosdev = unit | 0xa0;
disk_equips = *(unsigned char *)0x11482;
+ unit = 0;
for (i = 0; i < unit; i++)
- sdunit += ((disk_equips >> i) & 0x01);
- unit = sdunit;
+ unit += ((disk_equips >> i) & 0x01);
#else /* IBM-PC */
dosdev = biosdrive | 0x80;
#endif