aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index 9daa15470..fb4f998be 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -421,7 +421,7 @@ static unsigned calc_name_len(const char *name)
421 uni_stat_t uni_stat; 421 uni_stat_t uni_stat;
422 422
423 // TODO: quote tab as \t, etc, if -Q 423 // TODO: quote tab as \t, etc, if -Q
424 name = printable_string(&uni_stat, name); 424 name = printable_string2(&uni_stat, name);
425 425
426 if (!(option_mask32 & OPT_Q)) { 426 if (!(option_mask32 & OPT_Q)) {
427 return uni_stat.unicode_width; 427 return uni_stat.unicode_width;
@@ -450,7 +450,7 @@ static unsigned print_name(const char *name)
450 uni_stat_t uni_stat; 450 uni_stat_t uni_stat;
451 451
452 // TODO: quote tab as \t, etc, if -Q 452 // TODO: quote tab as \t, etc, if -Q
453 name = printable_string(&uni_stat, name); 453 name = printable_string2(&uni_stat, name);
454 454
455 if (!(option_mask32 & OPT_Q)) { 455 if (!(option_mask32 & OPT_Q)) {
456 fputs(name, stdout); 456 fputs(name, stdout);