aboutsummaryrefslogtreecommitdiff
path: root/coreutils/sort.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-27 09:02:31 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-27 09:02:31 +0000
commit8b039ac7df3ae06554165c79429b5d06240080c1 (patch)
tree139fa79a102d11dbab9828d2649c119245b196b1 /coreutils/sort.c
parent856b8fef84cd3f5787fdffd85dca2f922ce10732 (diff)
downloadbusybox-w32-8b039ac7df3ae06554165c79429b5d06240080c1.tar.gz
busybox-w32-8b039ac7df3ae06554165c79429b5d06240080c1.tar.bz2
busybox-w32-8b039ac7df3ae06554165c79429b5d06240080c1.zip
last nail into error_msg() (de)capitalization
git-svn-id: svn://busybox.net/trunk/busybox@16451 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/sort.c')
-rw-r--r--coreutils/sort.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/sort.c b/coreutils/sort.c
index 972477bab..1ba05ecd7 100644
--- a/coreutils/sort.c
+++ b/coreutils/sort.c
@@ -153,7 +153,7 @@ static int compare_keys(const void *xarg, const void *yarg)
153 /* Perform actual comparison */ 153 /* Perform actual comparison */
154 switch(flags&7) { 154 switch(flags&7) {
155 default: 155 default:
156 bb_error_msg_and_die("Unknown sort type."); 156 bb_error_msg_and_die("unknown sort type");
157 break; 157 break;
158 /* Ascii sort */ 158 /* Ascii sort */
159 case 0: 159 case 0:
@@ -233,12 +233,12 @@ int sort_main(int argc, char **argv)
233 switch(*line) { 233 switch(*line) {
234#ifdef CONFIG_FEATURE_SORT_BIG 234#ifdef CONFIG_FEATURE_SORT_BIG
235 case 'o': 235 case 'o':
236 if(outfile) bb_error_msg_and_die("Too many -o."); 236 if(outfile) bb_error_msg_and_die("too many -o");
237 outfile=xfopen(optarg,"w"); 237 outfile=xfopen(optarg,"w");
238 break; 238 break;
239 case 't': 239 case 't':
240 if(key_separator || optarg[1]) 240 if(key_separator || optarg[1])
241 bb_error_msg_and_die("Too many -t."); 241 bb_error_msg_and_die("too many -t");
242 key_separator=*optarg; 242 key_separator=*optarg;
243 break; 243 break;
244 /* parse sort key */ 244 /* parse sort key */
@@ -262,7 +262,7 @@ int sort_main(int argc, char **argv)
262 temp2=strchr(optlist,*temp); 262 temp2=strchr(optlist,*temp);
263 flag=(1<<(temp2-optlist)); 263 flag=(1<<(temp2-optlist));
264 if(!temp2 || (flag>FLAG_M && flag<FLAG_b)) 264 if(!temp2 || (flag>FLAG_M && flag<FLAG_b))
265 bb_error_msg_and_die("Unknown key option."); 265 bb_error_msg_and_die("unknown key option");
266 /* b after , means strip _trailing_ space */ 266 /* b after , means strip _trailing_ space */
267 if(i && flag==FLAG_b) flag=FLAG_bb; 267 if(i && flag==FLAG_b) flag=FLAG_bb;
268 key->flags|=flag; 268 key->flags|=flag;