aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/ldlinux/config.h
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-10-31 12:42:25 +0000
committerMatt Fleming <matt.fleming@intel.com>2012-11-02 11:55:41 +0000
commit06f042df3c483c442f1150b862ef043711288f5e (patch)
tree2e915d14ebff8f94bbc4218599c7fecd5617ddf1 /com32/elflink/ldlinux/config.h
parenta06aa6db6177f412718d1d121b5cf83616c281e9 (diff)
downloadsyslinux-06f042df3c483c442f1150b862ef043711288f5e.tar.gz
syslinux-06f042df3c483c442f1150b862ef043711288f5e.tar.xz
syslinux-06f042df3c483c442f1150b862ef043711288f5e.zip
ldlinux: Fix logic if no DEFAULT or UI directive is found
Somewhere along the way the code that prints, No DEFAULT or UI configuration directive found! was broken, and now no longer prints at all. While we're fixing this it's a good opportunity to rework the logic to be clearer. Now we only print the message if a config file was found, since these directives are obviously missing if there is no config file (a warning will be printed about the lack of config file anyway). Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/elflink/ldlinux/config.h')
-rw-r--r--com32/elflink/ldlinux/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/elflink/ldlinux/config.h b/com32/elflink/ldlinux/config.h
index ea4736e6..63e33b69 100644
--- a/com32/elflink/ldlinux/config.h
+++ b/com32/elflink/ldlinux/config.h
@@ -47,6 +47,6 @@ extern int new_linux_kernel(char *okernel, char *ocmdline);
extern void pm_load_high(com32sys_t *regs);
-extern void ldlinux_enter_command(bool prompt);
+extern void ldlinux_enter_command(void);
#endif /* __CONFIG_H__ */