summaryrefslogtreecommitdiff
path: root/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'syscall.c')
-rw-r--r--syscall.c2
1 files changed, 1 insertions, 1 deletions
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);