projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01fc061
)
chain.c32 sethidden option fix
author
Michal Soltys
<soltys@ziu.info>
Wed, 7 Apr 2010 08:37:25 +0000
(10:37 +0200)
committer
H. Peter Anvin
<hpa@zytor.com>
Fri, 23 Apr 2010 18:33:00 +0000
(11:33 -0700)
Hidden sectors value was applied at the wrong offset.
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
160aa70
..
ad746ee
100644
(file)
--- a/
com32/modules/chain.c
+++ b/
com32/modules/chain.c
@@
-982,7
+982,7
@@
int main(int argc, char *argv[])
* possibly other boot loaders which use the same format.
*/
if (partinfo && opt.sethidden) {
- *(
(uint32_t *)
(char *)data[ndata].data + 28) =
+ *(
uint32_t *)(
(char *)data[ndata].data + 28) =
partinfo->start_lba;
}