diff options
author | Paul Green <paulg@samba.org> | 2005-01-18 21:19:42 +0000 |
---|---|---|
committer | Paul Green <paulg@samba.org> | 2005-01-18 21:19:42 +0000 |
commit | 58af2f958cc9d66f09a58f24d4bfc153f63a6846 (patch) | |
tree | 680d8da7855d79f5b76b1ab5a3d560d15a25d54d /syscall.c | |
parent | a8fd4161bbb4b67f90ec53f2d718c044c9efab08 (diff) | |
download | rsync-58af2f958cc9d66f09a58f24d4bfc153f63a6846.tar.gz rsync-58af2f958cc9d66f09a58f24d4bfc153f63a6846.tar.bz2 rsync-58af2f958cc9d66f09a58f24d4bfc153f63a6846.zip |
Fix typo in handling of lchown when the host operating system does
not implement it. It should get mapped to chown.
Diffstat (limited to 'syscall.c')
-rw-r--r-- | syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ int do_lchown(const char *path, uid_t owner, gid_t group) { if (dry_run) return 0; RETURN_ERROR_IF_RO_OR_LO; -#ifdef HAVE_LCHOWN +#ifndef HAVE_LCHOWN #define lchown chown #endif return lchown(path, owner, group); |