summaryrefslogtreecommitdiffstats
path: root/tests/nft-parsing-test.c
diff options
context:
space:
mode:
authorArturo Borrero <arturo.borrero.glez@gmail.com>2013-11-07 10:39:55 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2013-11-08 08:41:07 +0100
commit32e23b4f3bbc5471ca24153427e697f950837436 (patch)
tree28fa7b061e0ce7ac53365648f1aaaf967cd7178b /tests/nft-parsing-test.c
parent77e538040cafd33c994c3c6bbc9b2e37450306ad (diff)
tests: fix reference to undefined symbol
Kill reference to undefined symbol. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/nft-parsing-test.c')
-rw-r--r--tests/nft-parsing-test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/nft-parsing-test.c b/tests/nft-parsing-test.c
index e2931a6..9fa69ae 100644
--- a/tests/nft-parsing-test.c
+++ b/tests/nft-parsing-test.c
@@ -274,15 +274,15 @@ static int test_xml(const char *filename)
fclose(fp);
if (tree == NULL) {
- printf("unable to build XML tree from file %s %s\n", filename,
- FAILED_STR);
+ printf("unable to build XML tree from file "
+ "%s \033[31mFAILED\e[0m\n", filename);
return -1;
}
xml = mxmlSaveAllocString(tree, MXML_NO_CALLBACK);
if (xml == NULL) {
- printf("unable to alloc string from XML tree from %s %s\n",
- filename, FAILED_STR);
+ printf("unable to alloc string from XML tree from %s "
+ "\033[31mFAILED\e[0m\n", filename);
return -1;
}