diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-09-17 17:10:38 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-09-17 17:10:38 +0200 |
commit | 6279aec03d4677424408a515a57aa83664b81311 (patch) | |
tree | cd45810d883981cb1b7337e27a41c3430988aa30 /coreutils/ls.c | |
parent | 3a65435eaa845d45bbea176701726f27a88e8498 (diff) | |
download | busybox-w32-6279aec03d4677424408a515a57aa83664b81311.tar.gz busybox-w32-6279aec03d4677424408a515a57aa83664b81311.tar.bz2 busybox-w32-6279aec03d4677424408a515a57aa83664b81311.zip |
libbb: clarify what bb_mode_string() generates
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/ls.c')
-rw-r--r-- | coreutils/ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c index 9a1264e65..48f5eb482 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c | |||
@@ -504,7 +504,7 @@ static NOINLINE unsigned display_single(const struct dnode *dn) | |||
504 | if (opt & OPT_l) { | 504 | if (opt & OPT_l) { |
505 | /* long listing: show mode */ | 505 | /* long listing: show mode */ |
506 | char modestr[12]; | 506 | char modestr[12]; |
507 | column += printf("%-10s ", (char *) bb_mode_string(modestr, dn->dn_mode)); | 507 | column += printf("%-10s ", bb_mode_string(modestr, dn->dn_mode)); |
508 | /* long listing: show number of links */ | 508 | /* long listing: show number of links */ |
509 | column += printf("%4lu ", (long) dn->dn_nlink); | 509 | column += printf("%4lu ", (long) dn->dn_nlink); |
510 | /* long listing: show user/group */ | 510 | /* long listing: show user/group */ |