diff options
-rw-r--r-- | tests/nft-parsing-test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/nft-parsing-test.c b/tests/nft-parsing-test.c index 2a15109..57a5730 100644 --- a/tests/nft-parsing-test.c +++ b/tests/nft-parsing-test.c @@ -140,7 +140,7 @@ failparsing: fclose(fp); printf("parsing %s: ", filename); printf("\033[31mFAILED\e[0m (%s)\n", strerror(errno)); - nft_parse_perror("fail", err); + nft_parse_perror("Reason", err); return -1; } @@ -177,6 +177,7 @@ failparsing: fclose(fp); printf("parsing %s: ", filename); printf("\033[31mFAILED\e[0m (%s)\n", strerror(errno)); + nft_parse_perror("Reason", err); return -1; } |