From: Paul Green Date: Tue, 18 Jan 2005 21:19:42 +0000 (+0000) Subject: Fix typo in handling of lchown when the host operating system does X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/58af2f958cc9d66f09a58f24d4bfc153f63a6846 Fix typo in handling of lchown when the host operating system does not implement it. It should get mapped to chown. --- diff --git a/syscall.c b/syscall.c index f4985471..d093aaec 100644 --- a/syscall.c +++ b/syscall.c @@ -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);