diff options
author | Wayne Davison <wayned@samba.org> | 2010-04-30 12:58:17 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2010-04-30 12:58:17 -0700 |
commit | 9fbec6e44c7381ab28e78a991d37b57092459e99 (patch) | |
tree | 6b68992a1bd031dd0740c32ba87927c1cf9857b8 /backup.c | |
parent | 25082d1ef6712a15c52a1dacb36b7f0642c23ac8 (diff) | |
download | android_external_rsync-9fbec6e44c7381ab28e78a991d37b57092459e99.tar.gz android_external_rsync-9fbec6e44c7381ab28e78a991d37b57092459e99.tar.bz2 android_external_rsync-9fbec6e44c7381ab28e78a991d37b57092459e99.zip |
May as well use do_mkdir() directly these days.
Diffstat (limited to 'backup.c')
-rw-r--r-- | backup.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -98,7 +98,7 @@ static BOOL copy_valid_path(const char *fname) for ( ; b; name = b + 1, b = strchr(name, '/')) { *b = '\0'; - while (mkdir_defmode(backup_dir_buf) < 0) { + while (do_mkdir(backup_dir_buf, ACCESSPERMS) < 0) { if (errno == EEXIST) { val = validate_backup_dir(); if (val > 0) |