diff options
author | Matt Fleming <matt.fleming@intel.com> | 2011-11-25 15:54:48 +0000 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2011-12-02 12:13:30 +0000 |
commit | 086d698c642f0b8901757a40cef56b04d05bf19c (patch) | |
tree | 1dfb9e228c0ce1febe7d08e35cef26bb8c1b71a6 /com32/elflink/ldlinux/config.h | |
parent | 9273fdfbac8bdb76d66ba2b2dbfbd860ad0434b3 (diff) | |
download | syslinux-086d698c642f0b8901757a40cef56b04d05bf19c.tar.gz syslinux-086d698c642f0b8901757a40cef56b04d05bf19c.tar.xz syslinux-086d698c642f0b8901757a40cef56b04d05bf19c.zip |
ldlinux: Add eprintf() to print to VGA and serial
printf() is used heavily in the ldlinux code but that only displays
things on the VGA console, not on serial. Introduce eprintf(), which
gives us the benefit of format strings but will also print to both VGA
and serial.
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/elflink/ldlinux/config.h')
-rw-r--r-- | com32/elflink/ldlinux/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/elflink/ldlinux/config.h b/com32/elflink/ldlinux/config.h index 8f708f14..c34b2cc6 100644 --- a/com32/elflink/ldlinux/config.h +++ b/com32/elflink/ldlinux/config.h @@ -38,4 +38,6 @@ extern const char *onerror; //"onerror" command line extern void cat_help_file(int key); +extern void eprintf(const char *filename, ...); + #endif /* __CONFIG_H__ */ |