Fixed failing hunks and/or fuzz.
[rsync/rsync-patches.git] / dir-times.diff
index 7b296d5..ce9c48a 100644 (file)
@@ -65,8 +65,8 @@
 -              if (set_modtime(fname,file->modtime) != 0 &&
 -                  !S_ISDIR(st->st_mode)) {
 +              if (set_modtime(fname,file->modtime) != 0) {
-                       rprintf(FERROR, "failed to set times on %s: %s\n",
-                               full_fname(fname), strerror(errno));
+                       rsyserr(FERROR, errno, "failed to set times on %s",
+                               full_fname(fname));
                        return 0;
 --- rsync.yo   7 May 2004 00:18:37 -0000       1.169
 +++ rsync.yo   13 May 2004 18:59:47 -0000