projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Making note of my changes
[oweals/busybox.git]
/
chmod_chown_chgrp.c
diff --git
a/chmod_chown_chgrp.c
b/chmod_chown_chgrp.c
index c9ea39bf5d4ae35ba57633966dce946ce00f41c9..75db904e866d094bc32f1099ccbd3c096dc84b55 100644
(file)
--- a/
chmod_chown_chgrp.c
+++ b/
chmod_chown_chgrp.c
@@
-55,7
+55,7
@@
static int fileAction(const char *fileName, struct stat* statbuf)
switch (whichApp) {
case CHGRP_APP:
case CHOWN_APP:
- if (chown(fileName, (whichApp==CHOWN_APP)? uid : statbuf->st_uid,
+ if (
l
chown(fileName, (whichApp==CHOWN_APP)? uid : statbuf->st_uid,
(gid==-1)? statbuf->st_gid : gid) == 0) {
return( TRUE);
}