summaryrefslogtreecommitdiffstats
path: root/contrib/tar/src/compare.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tar/src/compare.c')
-rw-r--r--contrib/tar/src/compare.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/contrib/tar/src/compare.c b/contrib/tar/src/compare.c
index aecd6bd..da9dc33 100644
--- a/contrib/tar/src/compare.c
+++ b/contrib/tar/src/compare.c
@@ -406,10 +406,14 @@ get_stat_data (char const *file_name, struct stat *stat_data)
if (status != 0)
{
if (errno == ENOENT)
- stat_warn (file_name);
+ {
+ report_difference (_("does not exist"));
+ }
else
- stat_error (file_name);
- report_difference (0);
+ {
+ stat_error (file_name);
+ report_difference (0);
+ }
return 0;
}
OpenPOWER on IntegriCloud