ps,top: add an option to show threads. +260 bytes of code
[oweals/busybox.git] / applets / individual.c
index 1667f188b73d4b70a12ab0f5f86f23886c1e6f59..341f4d1c2c8c26c09710abeea63e962e1faebfa7 100644 (file)
@@ -11,16 +11,14 @@ const char *applet_name;
 #include <stdlib.h>
 #include "usage.h"
 
-int main(int argc, char *argv[])
+int main(int argc, char **argv)
 {
        applet_name = argv[0];
-
        return APPLET_main(argc,argv);
 }
 
 void bb_show_usage(void)
 {
-       printf(APPLET_full_usage "\n");
-
-       exit(1);
+       fputs(APPLET_full_usage "\n", stdout);
+       exit(EXIT_FAILURE);
 }