dos2unix: tiny shrink
[oweals/busybox.git] / libbb / error_msg.c
index a8ed4bf8e55409c0f5401be0210b522c6988ebdf..5f53f031188db89baadfa766a320311cd697618a 100644 (file)
@@ -7,10 +7,6 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include <stdio.h>
-#include <errno.h>
-#include <string.h>
-#include <stdlib.h>
 #include "libbb.h"
 
 void bb_error_msg(const char *s, ...)
@@ -18,7 +14,6 @@ void bb_error_msg(const char *s, ...)
        va_list p;
 
        va_start(p, s);
-       bb_verror_msg(s, p);
+       bb_verror_msg(s, p, NULL);
        va_end(p);
-       putc('\n', stderr);
 }