]> Dogcows Code - chaz/tar/commitdiff
Minor changes
authorSergey Poznyakoff <gray@gnu.org.ua>
Tue, 11 Apr 2006 11:59:54 +0000 (11:59 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Tue, 11 Apr 2006 11:59:54 +0000 (11:59 +0000)
src/compare.c

index 9bcb260aa13e3bec502c9f82bf0607b0d6c03fb5..c23601d97e400a26dd3658b3019d6d6ece10d3fa 100644 (file)
@@ -53,14 +53,13 @@ diff_init (void)
 /* Sigh about something that differs by writing a MESSAGE to stdlis,
    given MESSAGE is nonzero.  Also set the exit status if not already.  */
 void
-report_difference (struct tar_stat_info *st __attribute__ ((unused)),
-                  const char *fmt, ...)
+report_difference (struct tar_stat_info *st, const char *fmt, ...)
 {
   if (fmt)
     {
       va_list ap;
 
-      fprintf (stdlis, "%s: ", quotearg_colon (current_stat_info.file_name));
+      fprintf (stdlis, "%s: ", quotearg_colon (st->file_name));
       va_start (ap, fmt);
       vfprintf (stdlis, fmt, ap);
       va_end (ap);
This page took 0.024578 seconds and 4 git commands to generate.