summaryrefslogtreecommitdiff
path: root/e2fsprogs/lsattr.c
diff options
context:
space:
mode:
authorDenys Vlasenko2021-06-24 09:31:57 +0200
committerDenys Vlasenko2021-06-24 09:31:57 +0200
commit87c40cf4de435d1b19b7fb545a495542c6eaf820 (patch)
tree3eaaec39b88cff99d5beee4caac961d7b2b4c7f7 /e2fsprogs/lsattr.c
parent9468ea06d2445f774dd923fdfdea04209984fbf4 (diff)
downloadbusybox-87c40cf4de435d1b19b7fb545a495542c6eaf820.zip
busybox-87c40cf4de435d1b19b7fb545a495542c6eaf820.tar.gz
e2fsprogs: code shrink
function old new delta print_e2flags_long - 109 +109 list_attributes 248 232 -16 print_e2flags 169 47 -122 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/2 up/down: 109/-138) Total: -29 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs/lsattr.c')
-rw-r--r--e2fsprogs/lsattr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/e2fsprogs/lsattr.c b/e2fsprogs/lsattr.c
index 545afa7..c9f353c 100644
--- a/e2fsprogs/lsattr.c
+++ b/e2fsprogs/lsattr.c
@@ -83,10 +83,10 @@ static void list_attributes(const char *name)
if (option_mask32 & OPT_PF_LONG) {
printf("%-28s ", name);
- print_e2flags(stdout, fsflags, PFOPT_LONG);
+ print_e2flags_long(fsflags);
bb_putchar('\n');
} else {
- print_e2flags(stdout, fsflags, 0);
+ print_e2flags(fsflags);
printf(" %s\n", name);
}