summaryrefslogtreecommitdiff
path: root/busybox.c
diff options
context:
space:
mode:
authorEric Andersen1999-10-12 15:42:48 +0000
committerEric Andersen1999-10-12 15:42:48 +0000
commit2ce1edcf544ac675e6762c9861a6b918401ea716 (patch)
tree34245558cd448f01969679fc420de4dfd246dc13 /busybox.c
parentf811e07b072600a3784a92e5a1dc8a93dac477eb (diff)
downloadbusybox-2ce1edcf544ac675e6762c9861a6b918401ea716.zip
busybox-2ce1edcf544ac675e6762c9861a6b918401ea716.tar.gz
Latest and greatest.
-Erik
Diffstat (limited to 'busybox.c')
-rw-r--r--busybox.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/busybox.c b/busybox.c
index cdbefbe..f0258c3 100644
--- a/busybox.c
+++ b/busybox.c
@@ -189,7 +189,7 @@ int main(int argc, char **argv)
}
a++;
}
- return (busybox_main(argc, argv));
+ exit (busybox_main(argc, argv));
}
@@ -216,8 +216,7 @@ int busybox_main(int argc, char **argv)
fprintf(stderr, "\nCurrently defined functions:\n");
while (a->name != 0) {
- col+=fprintf(stderr, "%s%s", ((col==0)? "\t":", "), a->name);
- a++;
+ col+=fprintf(stderr, "%s%s", ((col==0)? "\t":", "), (a++)->name);
if (col>60) {
fprintf(stderr, ",\n");
col=0;