Added support for ignoring '-g' per GNU ls, thanks to David Vrabel
[oweals/busybox.git] / printf.c
index 4e9a940492ca1a42bd9741a95db1f8357789c249..f572897595b5a65cb1fe7d9986795fce5904fa83 100644 (file)
--- a/printf.c
+++ b/printf.c
@@ -57,7 +57,6 @@
 #include <stdlib.h>
 #include <fcntl.h>
 #include <ctype.h>
-#include <libintl.h>
 
 
 #ifndef S_IFMT
@@ -171,7 +170,7 @@ int printf_main(int argc, char **argv)
     fprintf(stderr, "excess args ignored");
 */
 
-       exit(exit_status);
+       return(exit_status);
 }
 
 /* Print the text in FORMAT, using ARGV (with ARGC elements) for