aboutsummaryrefslogtreecommitdiff
path: root/coreutils/chgrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/chgrp.c')
-rw-r--r--coreutils/chgrp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c
index 46db4081a..5064f2d6e 100644
--- a/coreutils/chgrp.c
+++ b/coreutils/chgrp.c
@@ -16,11 +16,6 @@
16#include <unistd.h> 16#include <unistd.h>
17#include "busybox.h" 17#include "busybox.h"
18 18
19/* Don't use lchown glibc older then 2.1.x */
20#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1)
21#define lchown chown
22#endif
23
24static int fileAction(const char *fileName, struct stat *statbuf, void* junk) 19static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
25{ 20{
26 if (lchown(fileName, statbuf->st_uid, *((long *) junk)) == 0) { 21 if (lchown(fileName, statbuf->st_uid, *((long *) junk)) == 0) {