aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-04-02 15:51:45 +0100
committerMatt Fleming <matt.fleming@intel.com>2012-04-17 10:58:34 +0100
commita523208a0d1bb820d82c5b00125876476453afd1 (patch)
tree76383ae526293fc49a209c0ec8e7fcfbda2b1224 /com32/elflink
parent1149eb499e93e7723ef32362dfa867aff8ab0c23 (diff)
downloadsyslinux-a523208a0d1bb820d82c5b00125876476453afd1.tar.gz
syslinux-a523208a0d1bb820d82c5b00125876476453afd1.tar.xz
syslinux-a523208a0d1bb820d82c5b00125876476453afd1.zip
ldlinux: Fix number of arguments to start_ldlinux()
Commit 3a316db1 ("ldlinux: Loading a config file should cause re-initialisation") added a call to start_ldlinux() with an incorrect number of arguments. Add the prototype to core.h so this error doesn't go unnoticed again. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/elflink')
-rw-r--r--com32/elflink/ldlinux/execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/elflink/ldlinux/execute.c b/com32/elflink/ldlinux/execute.c
index 7dde6cfa..9a17cf5a 100644
--- a/com32/elflink/ldlinux/execute.c
+++ b/com32/elflink/ldlinux/execute.c
@@ -96,7 +96,7 @@ void execute(const char *cmdline, enum kernel_type type)
if (*args)
mangle_name(config_cwd, args);
- start_ldlinux("ldlinux.c32", 1, argv);
+ start_ldlinux(argv);
} else if (type == KT_LOCALBOOT) {
/* process the image need int 22 support */
ireg.eax.w[0] = 0x0014; /* Local boot */