diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-09-17 18:10:38 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-09-17 18:10:38 +0300 |
commit | 6279aec03d4677424408a515a57aa83664b81311 (patch) | |
tree | cd45810d883981cb1b7337e27a41c3430988aa30 /coreutils | |
parent | 3a65435eaa845d45bbea176701726f27a88e8498 (diff) |
libbb: clarify what bb_mode_string() generates
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-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) if (opt & OPT_l) { /* long listing: show mode */ char modestr[12]; - column += printf("%-10s ", (char *) bb_mode_string(modestr, dn->dn_mode)); + column += printf("%-10s ", bb_mode_string(modestr, dn->dn_mode)); /* long listing: show number of links */ column += printf("%4lu ", (long) dn->dn_nlink); /* long listing: show user/group */ |