]> Dogcows Code - chaz/tar/blobdiff - src/list.c
Fix improper use of 'path' word
[chaz/tar] / src / list.c
index e2746bc72445676762fe215c8b391aa9b284d332..cb207a982b9633eec275daf8ca8fa287139f3002 100644 (file)
@@ -1202,7 +1202,7 @@ print_header (struct tar_stat_info *st, off_t block_ordinal)
 
 /* Print a similar line when we make a directory automatically.  */
 void
-print_for_mkdir (char *pathname, int length, mode_t mode)
+print_for_mkdir (char *dirname, int length, mode_t mode)
 {
   char modes[11];
 
@@ -1221,7 +1221,7 @@ print_for_mkdir (char *pathname, int length, mode_t mode)
        }
 
       fprintf (stdlis, "%s %*s %.*s\n", modes, ugswidth + DATEWIDTH,
-              _("Creating directory:"), length, quotearg (pathname));
+              _("Creating directory:"), length, quotearg (dirname));
     }
 }
 
This page took 0.023438 seconds and 4 git commands to generate.