Turn off the printf attribute for the ?error_msg* functions, since it
[oweals/busybox.git] / whoami.c
index 398e37315a8277a3aa1423dba34c9b05514b24f7..0bbb54b7b2abaf594d844e0ac7ff3043cf4fa339 100644 (file)
--- a/whoami.c
+++ b/whoami.c
  *
  */
 
-#include "busybox.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include "busybox.h"
 
 extern int whoami_main(int argc, char **argv)
 {
@@ -31,7 +31,7 @@ extern int whoami_main(int argc, char **argv)
        uid_t uid = geteuid();
 
        if (argc > 1)
-               usage(whoami_usage);
+               show_usage();
 
        my_getpwuid(user, uid);
        if (*user) {