diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/stdbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdbuf.c b/src/stdbuf.c index 89f2242de..5da934191 100644 --- a/src/stdbuf.c +++ b/src/stdbuf.c @@ -319,7 +319,7 @@ main (int argc, char **argv) case 'i': case 'o': opt_fileno = optc_to_fileno (c); - assert (0 < opt_fileno && opt_fileno <= ARRAY_CARDINALITY (stdbuf)); + assert (0 <= opt_fileno && opt_fileno < ARRAY_CARDINALITY (stdbuf)); stdbuf[opt_fileno].optc = c; while (c_isspace (*optarg)) optarg++; |