run_command: Use load_kernel() which understands labels
commit04f40bc55ed4f39d6c625b017bb16907f7d50c05
authorMatt Fleming <matt.fleming@intel.com>
Thu, 7 Feb 2013 12:59:35 +0000 (7 12:59 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Thu, 7 Feb 2013 12:59:35 +0000 (7 12:59 +0000)
tree5a6d9c725f4093290107736e88baa2805be9301f
parent281e6e2253e737675458e75624a5ba42f0a5f4d6
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@intel.com>
com32/lib/syslinux/run_command.c