diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/regex/testregex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/regex/testregex.c b/test/regex/testregex.c index 993ac2687..d18761dd3 100644 --- a/test/regex/testregex.c +++ b/test/regex/testregex.c @@ -2115,7 +2115,7 @@ old_main(int unused_param_argc, char** argv) if (fp != stdin) fclose(fp); } - return 0; + return state.errors; } int main(int argc, char **argv) |