]> Dogcows Code - chaz/tar/commitdiff
Fix the "Creating directory:" output
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 17 Nov 2011 08:27:52 +0000 (10:27 +0200)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 17 Nov 2011 08:27:52 +0000 (10:27 +0200)
* src/list.c (print_for_mkdir): don't use unquoted name length for
computing its output width.

src/list.c

index cf2de096d00b9d3ea29fe3ef7a1c88e22ce02462..7e1319c79ce67d94218e24203120d0e212a85987 100644 (file)
@@ -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));
     }
 }
 
This page took 0.025984 seconds and 4 git commands to generate.