Changed bb_regcomp to xregcomp and #if 0'ed out destroy_cmd_strs in sed.c
[oweals/busybox.git] / whoami.c
index da584790d83e1e5c4ccc33263acf0084f5f50c3d..983c6725d4617e35d548eb34d8ec9c4c10694cb8 100644 (file)
--- a/whoami.c
+++ b/whoami.c
@@ -43,7 +43,7 @@ extern int whoami_main(int argc, char **argv)
                puts(user);
                exit(TRUE);
        }
-       fprintf(stderr, "%s: cannot find username for UID %u\n", argv[0],
+       fprintf(stderr, "%s: cannot find username for UID %u\n", applet_name,
                        (unsigned) uid);
-       exit(FALSE);
+       return(FALSE);
 }