summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chgrp.c2
-rw-r--r--chown.c2
-rw-r--r--coreutils/chgrp.c2
-rw-r--r--coreutils/chown.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/chgrp.c b/chgrp.c
index c6312a7..0bb1e75 100644
--- a/chgrp.c
+++ b/chgrp.c
@@ -29,7 +29,7 @@
#include "busybox.h"
/* Don't use lchown for libc5 or glibc older then 2.1.x */
-#if (__GLIBC__ < 2) && (__GLIBC_MINOR__ < 1)
+#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1)
#define lchown chown
#endif
diff --git a/chown.c b/chown.c
index b6059d0..ff935a4 100644
--- a/chown.c
+++ b/chown.c
@@ -29,7 +29,7 @@
#include "busybox.h"
/* Don't use lchown for libc5 or glibc older then 2.1.x */
-#if (__GLIBC__ < 2) && (__GLIBC_MINOR__ < 1)
+#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1)
#define lchown chown
#endif
diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c
index c6312a7..0bb1e75 100644
--- a/coreutils/chgrp.c
+++ b/coreutils/chgrp.c
@@ -29,7 +29,7 @@
#include "busybox.h"
/* Don't use lchown for libc5 or glibc older then 2.1.x */
-#if (__GLIBC__ < 2) && (__GLIBC_MINOR__ < 1)
+#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1)
#define lchown chown
#endif
diff --git a/coreutils/chown.c b/coreutils/chown.c
index b6059d0..ff935a4 100644
--- a/coreutils/chown.c
+++ b/coreutils/chown.c
@@ -29,7 +29,7 @@
#include "busybox.h"
/* Don't use lchown for libc5 or glibc older then 2.1.x */
-#if (__GLIBC__ < 2) && (__GLIBC_MINOR__ < 1)
+#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1)
#define lchown chown
#endif