projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcf1adb
)
Fix bug w.r.t. floppy count.
author
hpa
<hpa>
Thu, 25 Aug 2005 00:03:35 +0000
(
00:03
+0000)
committer
hpa
<hpa>
Thu, 25 Aug 2005 00:03:35 +0000
(
00:03
+0000)
memdisk/setup.c
patch
|
blob
|
history
diff --git
a/memdisk/setup.c
b/memdisk/setup.c
index
187cbf9
..
1f8aa5d
100644
(file)
--- a/
memdisk/setup.c
+++ b/
memdisk/setup.c
@@
-730,7
+730,7
@@
uint32_t setup(syscall_t cs_syscall, void *cs_bounce)
} else {
/* Update BIOS floppy disk count */
uint8_t equip = rdz_8(BIOS_EQUIP);
- int nflop = (equip & 1) ? (equip >> 6) : 0;
+ int nflop = (equip & 1) ? (equip >> 6)
+1
: 0;
nflop++;
if ( nflop <= geometry->driveno )