Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-10-30 22:36:07 +0300
committerDenis Vlasenko <vda.linux@googlemail.com>2007-10-30 22:36:07 +0300
commitd059ddc1bbd7863f8ef8aa6484b6c3ba802b5dca (patch)
tree1d2d1fe01bc3c0939b14b1deed9f33daf3f54be1 /e2fsprogs/lsattr.c
parent1641d614fa13b87b38688bb845159493c821e476 (diff)
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;