aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFeng Tang <feng.tang@intel.com>2010-06-12 17:04:41 +0800
committerFeng Tang <feng.tang@intel.com>2010-07-20 11:10:03 +0800
commit8c1843c6e4558cddf80bc1627144934d45ff8482 (patch)
tree28a1f04b8ed9a3e2218be5fb5ec7d3ac5dbb6d15
parentc549238124a8527674687964b8242f5e25b4f57f (diff)
downloadsyslinux-8c1843c6e4558cddf80bc1627144934d45ff8482.tar.gz
syslinux-8c1843c6e4558cddf80bc1627144934d45ff8482.tar.xz
syslinux-8c1843c6e4558cddf80bc1627144934d45ff8482.zip
elflink: comment off the printf provided by core
-rw-r--r--core/init.inc1
-rw-r--r--core/printf.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/core/init.inc b/core/init.inc
index e06ca96f..6c57387f 100644
--- a/core/init.inc
+++ b/core/init.inc
@@ -47,6 +47,7 @@ common_init:
; Now set up screen parameters
;
call adjust_screen
+ pm_call printf_init
;
; CPU-dependent initialization and related checks.
diff --git a/core/printf.c b/core/printf.c
index b1b0466b..5cd3a148 100644
--- a/core/printf.c
+++ b/core/printf.c
@@ -3,6 +3,7 @@
#include "core.h"
+/*
int printf(const char *format, ...)
{
char buf[1024];
@@ -18,3 +19,4 @@ int printf(const char *format, ...)
return rv;
}
+*/