summaryrefslogtreecommitdiffhomepage
path: root/coreutils/shuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/shuf.c')
-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)
*dash = '\0';
lo = xatou(opt_i_str);
hi = xatou(dash + 1);
- *dash = '-';
+ *dash = '-';
if (hi < lo) {
bb_error_msg_and_die("bad range '%s'", opt_i_str);
}