From 58af2f958cc9d66f09a58f24d4bfc153f63a6846 Mon Sep 17 00:00:00 2001 From: Paul Green Date: Tue, 18 Jan 2005 21:19:42 +0000 Subject: [PATCH] Fix typo in handling of lchown when the host operating system does not implement it. It should get mapped to chown. --- syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1