tests: fix undefined symbol
PATCH 1/1 tests: fix undefined symbol
Kill undefined and unused symbol.
Signed-off-by Arturo Borrero Gonzalez <[email protected]>
--- tests/nft-parsing-test.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
tests/nft-parsing-test.c +4 -4
@@ -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 ; }
Quoted 1 line · Arturo Borrero Gonzalez
Kill undefined and unused symbol.
Applied, thanks.