summaryrefslogtreecommitdiff
path: root/com32/elflink/ldlinux
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2013-06-26 11:55:24 -0400
committerGene Cumm <gene.cumm@gmail.com>2013-06-26 11:55:24 -0400
commitbd464f0a54e847489190d9e859f6755832eb12fb (patch)
tree2df349494b5af4d34bbdaf6fa6a06cc3925d5224 /com32/elflink/ldlinux
parent4ff8fcac8e7b5046987dee15592ab510ab343aa8 (diff)
downloadsyslinux-bd464f0a54e847489190d9e859f6755832eb12fb.tar.gz
core & menu: fix IPAPPEND/SYSAPPEND conversion
Make both use the same functions. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Diffstat (limited to 'com32/elflink/ldlinux')
-rw-r--r--com32/elflink/ldlinux/readconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/elflink/ldlinux/readconfig.c b/com32/elflink/ldlinux/readconfig.c
index d6e34bda..3ee825d7 100644
--- a/com32/elflink/ldlinux/readconfig.c
+++ b/com32/elflink/ldlinux/readconfig.c
@@ -1164,7 +1164,7 @@ do_include:
allowoptions = !!atoi(skipspace(p + 12));
} else if ((ep = looking_at(p, "ipappend")) ||
(ep = looking_at(p, "sysappend"))) {
- uint32_t s = strtoul(skipspace(ep), NULL, 16);
+ uint32_t s = strtoul(skipspace(ep), NULL, 0);
if (ld.label)
ld.ipappend = s;
else