aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/seq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/seq.c b/coreutils/seq.c
index 8401a6def..8a2a80c14 100644
--- a/coreutils/seq.c
+++ b/coreutils/seq.c
@@ -36,7 +36,7 @@ extern int seq_main(int argc, char **argv)
}
last = atof(argv[argc - 1]);
- for (i = first; ((first < last) ? (i <= last): (i >= last));i += increment) {
+ for (i = first; ((first <= last) ? (i <= last): (i >= last));i += increment) {
printf("%g\n", i);
}