netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [libnftables PATCH] tests: fix undefined symbol
@ 2013-11-07  9:39 Arturo Borrero Gonzalez
  2013-11-08  7:40 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Arturo Borrero Gonzalez @ 2013-11-07  9:39 UTC (permalink / raw)
  To: netfilter-devel

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(-)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [libnftables PATCH] tests: fix undefined symbol
  2013-11-07  9:39 [libnftables PATCH] tests: fix undefined symbol Arturo Borrero Gonzalez
@ 2013-11-08  7:40 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2013-11-08  7:40 UTC (permalink / raw)
  To: Arturo Borrero Gonzalez; +Cc: netfilter-devel

On Thu, Nov 07, 2013 at 10:39:55AM +0100, Arturo Borrero Gonzalez wrote:
> Kill undefined and unused symbol.

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-08  7:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-07  9:39 [libnftables PATCH] tests: fix undefined symbol Arturo Borrero Gonzalez
2013-11-08  7:40 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).