diff mbox

[libnftables] tests: fix undefined symbol

Message ID 20131107093955.24819.37152.stgit@nfdev.cica.es
State Accepted
Headers show

Commit Message

Arturo Borrero Nov. 7, 2013, 9:39 a.m. UTC
Kill undefined and unused symbol.

Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
---
 tests/nft-parsing-test.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Pablo Neira Ayuso Nov. 8, 2013, 7:40 a.m. UTC | #1
On Thu, Nov 07, 2013 at 10:39:55AM +0100, Arturo Borrero Gonzalez wrote:
> Kill undefined and unused symbol.

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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;
 	}