diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-11-17 10:27:52 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-11-17 10:27:52 +0200 |
commit | 79138eaef1094eae50d4dfc84bb5007de06d6376 (patch) | |
tree | f0275ab048aef828e3c637e354005b7a78f4bca2 /src/list.c | |
parent | d88b2a613f4b1a5554e8c34c8f75b91abff5f0e9 (diff) | |
download | tar-79138eaef1094eae50d4dfc84bb5007de06d6376.tar.gz |
Fix the "Creating directory:" output
* src/list.c (print_for_mkdir): don't use unquoted name length for
computing its output width.
Diffstat (limited to 'src/list.c')
-rw-r--r-- | src/list.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1357,8 +1357,8 @@ print_for_mkdir (char *dirname, int length, mode_t mode) STRINGIFY_BIGINT (current_block_ordinal (), buf)); } - fprintf (stdlis, "%s %*s %.*s\n", modes, ugswidth + 1 + datewidth, - _("Creating directory:"), length, quotearg (dirname)); + fprintf (stdlis, "%s %*s %s\n", modes, ugswidth + 1 + datewidth, + _("Creating directory:"), quotearg (dirname)); } } |