aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coreutils/shuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/shuf.c b/coreutils/shuf.c
index 6d0a68fc1..9f61f2f7d 100644
--- a/coreutils/shuf.c
+++ b/coreutils/shuf.c
@@ -94,7 +94,7 @@ int shuf_main(int argc, char **argv)
94 *dash = '\0'; 94 *dash = '\0';
95 lo = xatou(opt_i_str); 95 lo = xatou(opt_i_str);
96 hi = xatou(dash + 1); 96 hi = xatou(dash + 1);
97 *dash = '-'; 97 *dash = '-';
98 if (hi < lo) { 98 if (hi < lo) {
99 bb_error_msg_and_die("bad range '%s'", opt_i_str); 99 bb_error_msg_and_die("bad range '%s'", opt_i_str);
100 } 100 }