Use fprintf(stderr, ...) in library
[coreboot.git] / payloads / libpayload / libc / lib.c
index baccc07701b78c0b54e7927d8e691f481dd70ade..c8539cb59fc2aea4f57948fb550004e6faaabf1c 100644 (file)
@@ -109,7 +109,7 @@ u8 hex2bin(u8 h)
  */
 void fatal(const char *msg)
 {
-       printf("%s",msg);
+       fprintf(stderr, "%s",msg);
        halt();
 }