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 3483a289b..107899a10 100644
--- a/coreutils/shuf.c
+++ b/coreutils/shuf.c
@@ -138,7 +138,7 @@ int shuf_main(int argc, char **argv)
138 a--; 138 a--;
139 b--; 139 b--;
140 } 140 }
141 pfx_len = a - opt_i_str; /* can end up being 0 */ 141 pfx_len = a - pfx; /* can end up being 0 */
142 padding_width -= pfx_len; 142 padding_width -= pfx_len;
143 } else { 143 } else {
144 /* Undo leading zero 'eating' (think "0-9") */ 144 /* Undo leading zero 'eating' (think "0-9") */