diff options
-rw-r--r-- | lib/lchown.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/lchown.h b/lib/lchown.h index 46fa0ede0..d4824b171 100644 --- a/lib/lchown.h +++ b/lib/lchown.h @@ -1,9 +1,9 @@ -/* Some systems don't have ENOSYS. */ -#ifndef ENOSYS +/* Some systems don't have EOPNOTSUPP. */ +#ifndef EOPNOTSUPP # ifdef ENOTSUP -# define ENOSYS ENOTSUP +# define EOPNOTSUPP ENOTSUP # else /* Some systems don't have ENOTSUP either. */ -# define ENOSYS EINVAL +# define EOPNOTSUPP EINVAL # endif #endif |