summaryrefslogtreecommitdiff
path: root/chmod_chown_chgrp.c
diff options
context:
space:
mode:
authorErik Andersen2000-03-07 07:41:42 +0000
committerErik Andersen2000-03-07 07:41:42 +0000
commit246cc6dddd3df2164e8a925ebd8e9a7bba379253 (patch)
tree0b9f317c6b6fdebad4f90fbfde5565e195076ea4 /chmod_chown_chgrp.c
parente916d24805b4a191bc08d2ee31c9247a30f9bc1e (diff)
downloadbusybox-246cc6dddd3df2164e8a925ebd8e9a7bba379253.zip
busybox-246cc6dddd3df2164e8a925ebd8e9a7bba379253.tar.gz
Wrote killall.
Adjusted mount, ps, utility.c, etc to handle my nifty new kernel patches the allow busybox to run perfectly without /proc. -Erik
Diffstat (limited to 'chmod_chown_chgrp.c')
-rw-r--r--chmod_chown_chgrp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/chmod_chown_chgrp.c b/chmod_chown_chgrp.c
index 4e5e9b0..e197ee3 100644
--- a/chmod_chown_chgrp.c
+++ b/chmod_chown_chgrp.c
@@ -98,13 +98,11 @@ int chmod_chown_chgrp_main(int argc, char **argv)
char *p;
const char *appUsage;
- whichApp =
- (strcmp(*argv, "chown") == 0)?
+ whichApp = (strcmp(*argv, "chown") == 0)?
CHOWN_APP : (strcmp(*argv, "chmod") == 0)?
CHMOD_APP : CHGRP_APP;
- appUsage =
- (whichApp == CHOWN_APP)?
+ appUsage = (whichApp == CHOWN_APP)?
chown_usage : (whichApp == CHMOD_APP) ? chmod_usage : chgrp_usage;
if (argc < 2)