aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-09-27 19:51:06 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-09-27 19:51:06 +0000
commitc16bd212e341598452b7885d9e4ac2064f417673 (patch)
tree843350d8cd414849eadca5b65ef8f497834895d2 /coreutils
parent94d5d82bd84ec65d52c3df92276221d48990f306 (diff)
downloadbusybox-c16bd212e341598452b7885d9e4ac2064f417673.tar.gz
silly switch style fix
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/head.c2
-rw-r--r--coreutils/sort.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/head.c b/coreutils/head.c
index 8dc6ee0b4..50694bfef 100644
--- a/coreutils/head.c
+++ b/coreutils/head.c
@@ -62,7 +62,7 @@ int head_main(int argc, char **argv)
/* No size benefit in converting this to bb_getopt_ulflags */
while ((opt = getopt(argc, argv, head_opts)) > 0) {
- switch(opt) {
+ switch (opt) {
#if ENABLE_FEATURE_FANCY_HEAD
case 'q':
header_threshhold = INT_MAX;
diff --git a/coreutils/sort.c b/coreutils/sort.c
index d86f8dcde..7dfe1764c 100644
--- a/coreutils/sort.c
+++ b/coreutils/sort.c
@@ -293,7 +293,7 @@ int sort_main(int argc, char **argv)
}
#ifdef CONFIG_FEATURE_SORT_BIG
/* if no key, perform alphabetic sort */
- if(!key_list) add_key()->range[0]=1;
+ if(!key_list) add_key()->range[0]=1;
/* handle -c */
if(global_flags&FLAG_c) {
int j=(global_flags&FLAG_u) ? -1 : 0;