summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/lchown.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lchown.h b/lib/lchown.h
index 25e4dac98..46fa0ede0 100644
--- a/lib/lchown.h
+++ b/lib/lchown.h
@@ -4,6 +4,6 @@
# define ENOSYS ENOTSUP
# else
/* Some systems don't have ENOTSUP either. */
-# define ENOSYS ENOMSG
+# define ENOSYS EINVAL
# endif
#endif