aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/lsattr.c
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-10-30 19:36:07 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-10-30 19:36:07 +0000
commitd059ddc1bbd7863f8ef8aa6484b6c3ba802b5dca (patch)
tree1d2d1fe01bc3c0939b14b1deed9f33daf3f54be1 /e2fsprogs/lsattr.c
parent1641d614fa13b87b38688bb845159493c821e476 (diff)
downloadbusybox-d059ddc1bbd7863f8ef8aa6484b6c3ba802b5dca.tar.gz
busybox-d059ddc1bbd7863f8ef8aa6484b6c3ba802b5dca.tar.bz2
e2fsprogs: code shrink
text data bss dec hex filename 776594 974 9420 786988 c022c busybox_old 776494 974 9420 786888 c01c8 busybox_unstripped
Diffstat (limited to 'e2fsprogs/lsattr.c')
-rw-r--r--e2fsprogs/lsattr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/e2fsprogs/lsattr.c b/e2fsprogs/lsattr.c
index 6f4b9742c..a11f2437b 100644
--- a/e2fsprogs/lsattr.c
+++ b/e2fsprogs/lsattr.c
@@ -104,8 +104,7 @@ int lsattr_main(int argc, char **argv)
if (!*argv)
lsattr_args(".");
else {
- while (*argv)
- lsattr_args(*argv++);
+ do lsattr_args(*argv++); while (*argv);
}
return EXIT_SUCCESS;