aboutsummaryrefslogtreecommitdiff
path: root/coreutils/sort.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/sort.c')
-rw-r--r--coreutils/sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/sort.c b/coreutils/sort.c
index a1625fc9c..0b3b650c9 100644
--- a/coreutils/sort.c
+++ b/coreutils/sort.c
@@ -225,7 +225,7 @@ static int compare_keys(const void *xarg, const void *yarg)
225 y = *(char **)yarg; 225 y = *(char **)yarg;
226#endif 226#endif
227 /* Perform actual comparison */ 227 /* Perform actual comparison */
228 switch (flags & 7) { 228 switch (flags & (FLAG_n | FLAG_M | FLAG_g)) {
229 default: 229 default:
230 bb_error_msg_and_die("unknown sort type"); 230 bb_error_msg_and_die("unknown sort type");
231 break; 231 break;