]> Dogcows Code - chaz/tar/blobdiff - src/extract.c
*** empty log message ***
[chaz/tar] / src / extract.c
index d162cab04ec6448dcf86bf1382110ef4cc7a12be..84e6a234371f34016a98b1a355e110f22ad903ca 100644 (file)
@@ -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);
            }
This page took 0.020801 seconds and 4 git commands to generate.