diff options
author | Denis Vlasenko | 2008-07-02 11:14:59 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-07-02 11:14:59 +0000 |
commit | e0a7fc54eb23f925d2ea885fb1b8699931f9001a (patch) | |
tree | 99cc437e3df9371efaa495c61cccabe2951c27ce /applets | |
parent | d4f72438e42f93117fb2633d5d435e475f7e69e2 (diff) | |
download | busybox-e0a7fc54eb23f925d2ea885fb1b8699931f9001a.zip busybox-e0a7fc54eb23f925d2ea885fb1b8699931f9001a.tar.gz |
uname,individual: fix improper printf usage
uname,awk: small code shrink
function old new delta
uname_main 175 166 -9
nvalloc 167 157 -10
evaluate 6381 6370 -11
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-30) Total: -30 bytes
Diffstat (limited to 'applets')
-rw-r--r-- | applets/individual.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/applets/individual.c b/applets/individual.c index 414a11b..341f4d1 100644 --- a/applets/individual.c +++ b/applets/individual.c @@ -14,13 +14,11 @@ const char *applet_name; 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"); - + fputs(APPLET_full_usage "\n", stdout); exit(EXIT_FAILURE); } |