X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fextract.c;h=84e6a234371f34016a98b1a355e110f22ad903ca;hb=a2aa567aec0d3463d9dd0df10f5212fae30bbd82;hp=d162cab04ec6448dcf86bf1382110ef4cc7a12be;hpb=604e1433aad6da97ec24d1a491743fcb64378dbb;p=chaz%2Ftar diff --git a/src/extract.c b/src/extract.c index d162cab..84e6a23 100644 --- a/src/extract.c +++ b/src/extract.c @@ -542,7 +542,7 @@ extract_archive () if (chmod (skipcrud + current_file_name, notumask & (int) hstat.st_mode) < 0) { - msg_perror ("cannot change mode of file %s to %ld", + msg_perror ("cannot change mode of file %s to %lo", skipcrud + current_file_name, notumask & (int) hstat.st_mode); } @@ -719,7 +719,7 @@ extract_archive () if (chmod (skipcrud + current_file_name, notumask & (int) hstat.st_mode) < 0) { - msg_perror ("cannot change mode of file %s to %ld", + msg_perror ("cannot change mode of file %s to %lo", skipcrud + current_file_name, notumask & (int) hstat.st_mode); } @@ -897,7 +897,7 @@ restore_saved_dir_info () if (chmod (saved_dir_info_head->path, notumask & saved_dir_info_head->mode) < 0) { - msg_perror ("cannot change mode of file %s to %ld", + msg_perror ("cannot change mode of file %s to %lo", saved_dir_info_head->path, notumask & saved_dir_info_head->mode); }