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:
9cbd0df
)
Need to strdup the kernel name so it can be free'd
author
hpa
<hpa>
Fri, 19 Aug 2005 04:17:30 +0000
(
04:17
+0000)
committer
hpa
<hpa>
Fri, 19 Aug 2005 04:17:30 +0000
(
04:17
+0000)
com32/modules/readconfig.c
patch
|
blob
|
history
diff --git
a/com32/modules/readconfig.c
b/com32/modules/readconfig.c
index
82007c1
..
c61a1e5
100644
(file)
--- a/
com32/modules/readconfig.c
+++ b/
com32/modules/readconfig.c
@@
-259,7
+259,7
@@
void parse_config(const char *filename)
} else if ( looking_at(p, "ipappend") ) {
ld.ipappend = atoi(skipspace(p+8));
} else if ( looking_at(p, "localboot") ) {
- ld.kernel =
".localboot"
;
+ ld.kernel =
strdup(".localboot")
;
ld.append = strdup(skipspace(p+9));
}
}