aboutsummaryrefslogtreecommitdiffstats
path: root/backup.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2006-01-29 20:30:12 +0000
committerWayne Davison <wayned@samba.org>2006-01-29 20:30:12 +0000
commitc3ef136d41a9981433c1234c55f1ea76cd35d2f1 (patch)
treec7560ea6928f53da8b70865332c1100f775db990 /backup.c
parent8eda7a4bb819172a1efd06efa9694d1ec1383645 (diff)
downloadandroid_external_rsync-c3ef136d41a9981433c1234c55f1ea76cd35d2f1.tar.gz
android_external_rsync-c3ef136d41a9981433c1234c55f1ea76cd35d2f1.tar.bz2
android_external_rsync-c3ef136d41a9981433c1234c55f1ea76cd35d2f1.zip
Call the new name of set_perms(): set_file_attrs().
Diffstat (limited to 'backup.c')
-rw-r--r--backup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backup.c b/backup.c
index 11011cfd..e5b83848 100644
--- 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) {