diff options
Diffstat (limited to 'coreutils/sort.c')
-rw-r--r-- | coreutils/sort.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/coreutils/sort.c b/coreutils/sort.c index f04c606..07c3276 100644 --- a/coreutils/sort.c +++ b/coreutils/sort.c @@ -277,7 +277,7 @@ static int compare_keys(const void *xarg, const void *yarg) /* Perform actual comparison */ switch (flags & (FLAG_n | FLAG_g | FLAG_M | FLAG_V)) { default: - bb_error_msg_and_die("unknown sort type"); + bb_simple_error_msg_and_die("unknown sort type"); break; #if defined(HAVE_STRVERSCMP) && HAVE_STRVERSCMP == 1 case FLAG_V: @@ -398,10 +398,10 @@ static unsigned str2u(char **str) { unsigned long lu; if (!isdigit((*str)[0])) - bb_error_msg_and_die("bad field specification"); + bb_simple_error_msg_and_die("bad field specification"); lu = strtoul(*str, str, 10); if ((sizeof(long) > sizeof(int) && lu > INT_MAX) || !lu) - bb_error_msg_and_die("bad field specification"); + bb_simple_error_msg_and_die("bad field specification"); return lu; } #endif @@ -461,7 +461,7 @@ int sort_main(int argc UNUSED_PARAM, char **argv) #if ENABLE_FEATURE_SORT_BIG if (opts & FLAG_t) { if (!str_t[0] || str_t[1]) - bb_error_msg_and_die("bad -t parameter"); + bb_simple_error_msg_and_die("bad -t parameter"); key_separator = str_t[0]; } /* note: below this point we use option_mask32, not opts, @@ -504,10 +504,10 @@ int sort_main(int argc UNUSED_PARAM, char **argv) because comma isn't in OPT_STR */ idx = strchr(OPT_STR, *str_k); if (!idx) - bb_error_msg_and_die("unknown key option"); + bb_simple_error_msg_and_die("unknown key option"); flag = 1 << (idx - OPT_STR); if (flag & ~FLAG_allowed_for_k) - bb_error_msg_and_die("unknown sort type"); + bb_simple_error_msg_and_die("unknown sort type"); /* b after ',' means strip _trailing_ space */ if (i && flag == FLAG_b) flag = FLAG_bb; |