summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-06-24 15:28:40 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-06-24 15:28:40 -0700
commit2eab1b7a15377f4bb0a5a3537fd882d32e39e06f (patch)
tree4da91b83ec2c54b0b5c79c94f608e98a10634a17
parentef9842e614df33ddf61f579babff11d45bca4742 (diff)
downloadsyslinux-3.70-pre24.tar.gz
mboot.c32: no need to include the ANSI enginesyslinux-3.70-pre24
We don't need the ANSI engine in mboot.c32.
-rw-r--r--com32/modules/mboot.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/com32/modules/mboot.c b/com32/modules/mboot.c
index 6c3ce340..bb92b147 100644
--- a/com32/modules/mboot.c
+++ b/com32/modules/mboot.c
@@ -30,7 +30,7 @@
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
-#include <consoles.h>
+#include <console.h>
#include <zlib.h>
#include <com32.h>
@@ -928,7 +928,8 @@ int main(int argc, char **argv)
int i;
/* Say hello */
- console_ansi_std();
+ openconsole(&dev_null_r, &dev_stdcon_w);
+
printf("%s. %s\n", version_string, copyright_string);
if (argc < 2 || !strcmp(argv[1], module_separator)) {