diff options
Diffstat (limited to 'test/lowlevel-blt-bench.c')
-rw-r--r-- | test/lowlevel-blt-bench.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/lowlevel-blt-bench.c b/test/lowlevel-blt-bench.c index fc7472f..28ff669 100644 --- a/test/lowlevel-blt-bench.c +++ b/test/lowlevel-blt-bench.c @@ -1122,6 +1122,12 @@ main (int argc, char *argv[]) } else { + if (pattern) + { + pattern = NULL; + printf ("Error: extra arguments given.\n"); + break; + } pattern = argv[i]; } } |