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:
aee4e8f
)
chain.c32: remove clobber of drivename/partition
author
H. Peter Anvin
<hpa@zytor.com>
Thu, 21 May 2009 14:22:53 +0000
(07:22 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Thu, 21 May 2009 14:22:53 +0000
(07:22 -0700)
Remove a clobber of drivename and partition, after we have spent time
computing what the should have been...
Reported-by: Luciano Miguel Ferreira Rocha <strange@nsk.no-ip.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/modules/chain.c
patch
|
blob
|
history
diff --git
a/com32/modules/chain.c
b/com32/modules/chain.c
index
ead908f
..
7c7c9eb
100644
(file)
--- a/
com32/modules/chain.c
+++ b/
com32/modules/chain.c
@@
-651,9
+651,6
@@
int main(int argc, char *argv[])
regs.ip = regs.esp.l = 0x7c00;
}
- drivename = argv[1];
- partition = argv[2]; /* Possibly null */
-
hd = 0;
if ( !strncmp(drivename, "mbr", 3) ) {
drive = find_disk(strtoul(drivename+4, NULL, 0));