summaryrefslogtreecommitdiff
path: root/applets/busybox.c
diff options
context:
space:
mode:
authorErik Andersen2000-01-25 18:13:53 +0000
committerErik Andersen2000-01-25 18:13:53 +0000
commit3fe39dce5d1a0b0946878c66bbd7f694c5aa38ea (patch)
tree32b6129967a8b5c922b72843efc7fc6683287181 /applets/busybox.c
parentbf3a838aaca4ab34d2739438fa44d0dbb04e9862 (diff)
downloadbusybox-3fe39dce5d1a0b0946878c66bbd7f694c5aa38ea.zip
busybox-3fe39dce5d1a0b0946878c66bbd7f694c5aa38ea.tar.gz
Some busybox updates. See the changelog for details if you care.
-Erik
Diffstat (limited to 'applets/busybox.c')
-rw-r--r--applets/busybox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index 67485de..d59b285 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -83,7 +83,7 @@ static const struct Applet applets[] = {
#ifdef BB_FREE //usr/bin
{"free", free_main},
#endif
-#ifdef BB_DEALLOCVT //usr/bin
+#ifdef BB_DEALLOCVT //usr/bin
{"deallocvt", deallocvt_main},
#endif
#ifdef BB_FSCK_MINIX //sbin
@@ -328,7 +328,7 @@ int busybox_main(int argc, char **argv)
while (a->name != 0) {
col+=fprintf(stderr, "%s%s", ((col==0)? "\t":", "), (a++)->name);
- if (col>60) {
+ if (col>60 && a->name != 0) {
fprintf(stderr, ",\n");
col=0;
}