summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorEric Andersen2001-04-25 17:12:33 +0000
committerEric Andersen2001-04-25 17:12:33 +0000
commitc57a75d896431eda8d1c3dd018b34706bea67e81 (patch)
tree23e6b8e0e9a21b36fa8e08bac90b3361ec490080 /coreutils
parent4b541a8817425457a97a7033d3a0e0495d9948aa (diff)
downloadbusybox-c57a75d896431eda8d1c3dd018b34706bea67e81.zip
busybox-c57a75d896431eda8d1c3dd018b34706bea67e81.tar.gz
Larry noticed that chown and chgrp has the version numbers off a bit
for glibc's lchown support. Thanks Larry.
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/chgrp.c2
-rw-r--r--coreutils/chown.c2
2 files changed, 2 insertions, 2 deletions
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