From: Sergey Poznyakoff Date: Thu, 17 Nov 2011 08:27:52 +0000 (+0200) Subject: Fix the "Creating directory:" output X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftar;a=commitdiff_plain;h=79138eaef1094eae50d4dfc84bb5007de06d6376 Fix the "Creating directory:" output * src/list.c (print_for_mkdir): don't use unquoted name length for computing its output width. --- diff --git a/src/list.c b/src/list.c index cf2de09..7e1319c 100644 --- a/src/list.c +++ b/src/list.c @@ -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)); } }