diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/nft-parsing-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/nft-parsing-test.c b/tests/nft-parsing-test.c index 8f01233..e2931a6 100644 --- a/tests/nft-parsing-test.c +++ b/tests/nft-parsing-test.c @@ -251,7 +251,7 @@ failparsing: json_decref(root); return -1; #else - errno = EOPNOTSUPP; + printf("Compiled without support for JSON.\n"); return -1; #endif } @@ -350,7 +350,7 @@ failparsing: printf("\033[31mFAILED\e[0m (%s)\n", strerror(errno)); return -1; #else - errno = EOPNOTSUPP; + printf("Compiled without support for XML.\n"); return -1; #endif } |