aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Winterfeldt <wfeldt@opensuse.org>2010-04-14 17:43:16 +0200
committerSebastian Herbszt <herbszt@gmx.de>2010-04-24 21:58:21 +0200
commit18d84de97767d48abffb69ea318e12378b25d6d6 (patch)
tree3f668d39db83535a33c2f79ed1ef590b21fdf7aa
parent1427c43754590ecacb1d1379003aadb9ec9aa7b6 (diff)
downloadcontrib-18d84de97767d48abffb69ea318e12378b25d6d6.tar.gz
contrib-18d84de97767d48abffb69ea318e12378b25d6d6.tar.xz
contrib-18d84de97767d48abffb69ea318e12378b25d6d6.zip
gfxboot: fix localboot
Signed-off-by: Steffen Winterfeldt <wfeldt@opensuse.org> Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
-rw-r--r--com32/gfxboot/gfxboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/gfxboot/gfxboot.c b/com32/gfxboot/gfxboot.c
index 96aadd86..3460c18a 100644
--- a/com32/gfxboot/gfxboot.c
+++ b/com32/gfxboot/gfxboot.c
@@ -766,7 +766,7 @@ void boot_entry(menu_t *menu_ptr, char *arg)
if(menu_ptr->localboot) {
gfx_done();
- syslinux_local_boot(atoi(arg));
+ syslinux_local_boot(strtol(menu_ptr->localboot, NULL, 0));
return;
}