Call the new name of set_perms(): set_file_attrs().
authorWayne Davison <wayned@samba.org>
Sun, 29 Jan 2006 20:30:12 +0000 (20:30 +0000)
committerWayne Davison <wayned@samba.org>
Sun, 29 Jan 2006 20:30:12 +0000 (20:30 +0000)
backup.c

index 11011cfd17fc0035f4d109730a40dad7a00521b0..e5b838485b0dd33ca573b0173fe0a379afe46245 100644 (file)
--- a/backup.c
+++ b/backup.c
@@ -261,7 +261,7 @@ static int keep_backup(char *fname)
                        robust_unlink(fname); /* Just in case... */
                }
        }
-       set_perms(buf, file, NULL, 0);
+       set_file_attrs(buf, file, NULL, 0);
        free(file);
 
        if (verbose > 1) {