[syslinux:elflink] run_command: Use load_kernel() which understands labels
syslinux-bot for Matt Fleming
matt.fleming at intel.com
Thu Feb 7 05:33:02 PST 2013
Commit-ID: 04f40bc55ed4f39d6c625b017bb16907f7d50c05
Gitweb: http://www.syslinux.org/commit/04f40bc55ed4f39d6c625b017bb16907f7d50c05
Author: Matt Fleming <matt.fleming at intel.com>
AuthorDate: Thu, 7 Feb 2013 12:59:35 +0000
Committer: Matt Fleming <matt.fleming at intel.com>
CommitDate: Thu, 7 Feb 2013 12:59:35 +0000
run_command: Use load_kernel() which understands labels
load_kernel() understands how to handle labels from config files
whereas create_args_and_load() assumes that the cmdline is a COM32
file. Callers of syslinux_run_command() may want to pass labels, so
use a function that allows that.
Signed-off-by: Matt Fleming <matt.fleming at intel.com>
---
com32/lib/syslinux/run_command.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/com32/lib/syslinux/run_command.c b/com32/lib/syslinux/run_command.c
index 0efb61f..7e4dc41 100644
--- a/com32/lib/syslinux/run_command.c
+++ b/com32/lib/syslinux/run_command.c
@@ -37,7 +37,7 @@ int syslinux_run_command(const char *command)
if (!lm_command)
return -1;
- create_args_and_load(lm_command);
+ load_kernel(lm_command);
/* Should not return even on failure, but in case... */
lfree(lm_command);
More information about the Syslinux-commits
mailing list