Call make_file() using the revised arg syntax and new defines.
[rsync/rsync.git] / backup.c
index 0fb6373..97ec957 100644 (file)
--- a/backup.c
+++ b/backup.c
@@ -198,7 +198,7 @@ static int keep_backup(char *fname)
        if (do_stat (fname, &st)) return 1;
 #endif
 
-       file = make_file(-1, fname, NULL, 1);
+       file = make_file(fname, NULL, NO_EXCLUDES);
 
        /* the file could have disappeared */
        if (!file) return 1;
@@ -294,4 +294,3 @@ int make_backup(char *fname)
        else
                return (make_simple_backup(fname));
 }
-