aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-10-12 15:42:48 +0000
committerEric Andersen <andersen@codepoet.org>1999-10-12 15:42:48 +0000
commit2ce1edcf544ac675e6762c9861a6b918401ea716 (patch)
tree34245558cd448f01969679fc420de4dfd246dc13 /applets
parentf811e07b072600a3784a92e5a1dc8a93dac477eb (diff)
downloadbusybox-w32-2ce1edcf544ac675e6762c9861a6b918401ea716.tar.gz
busybox-w32-2ce1edcf544ac675e6762c9861a6b918401ea716.tar.bz2
busybox-w32-2ce1edcf544ac675e6762c9861a6b918401ea716.zip
Latest and greatest.
-Erik
Diffstat (limited to 'applets')
-rw-r--r--applets/busybox.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index cdbefbe94..f0258c36e 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -189,7 +189,7 @@ int main(int argc, char **argv)
189 } 189 }
190 a++; 190 a++;
191 } 191 }
192 return (busybox_main(argc, argv)); 192 exit (busybox_main(argc, argv));
193} 193}
194 194
195 195
@@ -216,8 +216,7 @@ int busybox_main(int argc, char **argv)
216 fprintf(stderr, "\nCurrently defined functions:\n"); 216 fprintf(stderr, "\nCurrently defined functions:\n");
217 217
218 while (a->name != 0) { 218 while (a->name != 0) {
219 col+=fprintf(stderr, "%s%s", ((col==0)? "\t":", "), a->name); 219 col+=fprintf(stderr, "%s%s", ((col==0)? "\t":", "), (a++)->name);
220 a++;
221 if (col>60) { 220 if (col>60) {
222 fprintf(stderr, ",\n"); 221 fprintf(stderr, ",\n");
223 col=0; 222 col=0;