diff options
Diffstat (limited to 'test/twriteorder.c')
-rw-r--r-- | test/twriteorder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/twriteorder.c b/test/twriteorder.c index e43d58f..0dd768c 100644 --- a/test/twriteorder.c +++ b/test/twriteorder.c @@ -139,8 +139,8 @@ parse_option(int argc, char * const argv[]) }; break; case 'n': /* number of planes to write/read */ - if ((nlinkedblock_g = atoi(optarg)) <= 0){ - fprintf(stderr, "bad number of linked blocks %s, must be a positive integer\n", optarg); + if ((nlinkedblock_g = atoi(optarg)) < 2){ + fprintf(stderr, "bad number of linked blocks %s, must be greater than 1.\n", optarg); usage(progname_g); Hgoto_error(-1); }; |