aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-07-02 11:14:59 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-07-02 11:14:59 +0000
commite0a7fc54eb23f925d2ea885fb1b8699931f9001a (patch)
tree99cc437e3df9371efaa495c61cccabe2951c27ce /applets
parentd4f72438e42f93117fb2633d5d435e475f7e69e2 (diff)
downloadbusybox-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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/applets/individual.c b/applets/individual.c
index 414a11b05..341f4d1c2 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);
}