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:
9c2812a
)
Forgot to add our own drive to the drive count!
syslinux-3.52-pre3
author
H. Peter Anvin
<hpa@zytor.com>
Sat, 30 Jun 2007 15:15:17 +0000
(11:15 -0400)
committer
H. Peter Anvin
<hpa@zytor.com>
Sat, 30 Jun 2007 15:15:17 +0000
(11:15 -0400)
memdisk/setup.c
patch
|
blob
|
history
diff --git
a/memdisk/setup.c
b/memdisk/setup.c
index
bad056c
..
553c446
100644
(file)
--- a/
memdisk/setup.c
+++ b/
memdisk/setup.c
@@
-766,6
+766,9
@@
void setup(syscall_t cs_syscall, void *cs_bounce)
pptr->drivecnt = bios_drives;
}
+ /* Add ourselves to the drive count */
+ pptr->drivecnt++;
+
/* Discontiguous drive space. There is no really good solution for this. */
if ( pptr->drivecnt <= (geometry->driveno & 0x7f) )
pptr->drivecnt = (geometry->driveno & 0x7f) + 1;