From: Sergey Poznyakoff Date: Tue, 11 Apr 2006 11:59:54 +0000 (+0000) Subject: Minor changes X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=90b061cf55cb47cddcb66de45538da336efd7a99;p=chaz%2Ftar Minor changes --- diff --git a/src/compare.c b/src/compare.c index 9bcb260..c23601d 100644 --- a/src/compare.c +++ b/src/compare.c @@ -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);