summaryrefslogtreecommitdiff
path: root/payloads/libpayload/libc
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2011-02-14 19:26:22 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2011-02-14 19:26:22 +0000
commitb9122895731212b991e1ef7a2b6acb791db73d91 (patch)
tree0bd5491a8900f074e661011886b7e1cc5064037a /payloads/libpayload/libc
parentcd913bdf5c995fb3768aaaaeec364e7f5527e4e9 (diff)
downloadcoreboot-b9122895731212b991e1ef7a2b6acb791db73d91.tar.xz
Use fprintf(stderr, ...) in library
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6359 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/libc')
-rw-r--r--payloads/libpayload/libc/lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/libc/lib.c b/payloads/libpayload/libc/lib.c
index baccc07701..c8539cb59f 100644
--- a/payloads/libpayload/libc/lib.c
+++ b/payloads/libpayload/libc/lib.c
@@ -109,7 +109,7 @@ u8 hex2bin(u8 h)
*/
void fatal(const char *msg)
{
- printf("%s",msg);
+ fprintf(stderr, "%s",msg);
halt();
}