diff options
Diffstat (limited to 'src/stdbuf.c')
| -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 b61ddf6a4..11b9a12f2 100644 --- a/src/stdbuf.c +++ b/src/stdbuf.c @@ -347,7 +347,7 @@ main (int argc, char **argv) usage (EXIT_CANCELED); } - if (!STREQ (optarg, "L") + if (!streq (optarg, "L") && parse_size (optarg, &stdbuf[opt_fileno].size) == -1) error (EXIT_CANCELED, errno, _("invalid mode %s"), quote (optarg)); |
