From patchwork Thu Nov 7 09:39:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arturo Borrero X-Patchwork-Id: 289234 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 74D562C0040 for ; Thu, 7 Nov 2013 20:40:11 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753038Ab3KGJkH (ORCPT ); Thu, 7 Nov 2013 04:40:07 -0500 Received: from smtp3.cica.es ([150.214.5.190]:37706 "EHLO smtp.cica.es" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750802Ab3KGJkG (ORCPT ); Thu, 7 Nov 2013 04:40:06 -0500 Received: from localhost (unknown [127.0.0.1]) by smtp.cica.es (Postfix) with ESMTP id BD37E51ED71 for ; Thu, 7 Nov 2013 09:40:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at cica.es Received: from smtp.cica.es ([127.0.0.1]) by localhost (mail.cica.es [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uuBEcwQBsisT for ; Thu, 7 Nov 2013 10:39:57 +0100 (CET) Received: from nfdev.cica.es (nfdev.cica.es [IPv6:2a00:9ac0:c1ca:31::220]) by smtp.cica.es (Postfix) with ESMTP id CB4DC51ED6D for ; Thu, 7 Nov 2013 10:39:57 +0100 (CET) Subject: [libnftables PATCH] tests: fix undefined symbol To: netfilter-devel@vger.kernel.org From: Arturo Borrero Gonzalez Date: Thu, 07 Nov 2013 10:39:55 +0100 Message-ID: <20131107093955.24819.37152.stgit@nfdev.cica.es> User-Agent: StGit/0.15 MIME-Version: 1.0 Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Kill undefined and unused symbol. Signed-off-by: Arturo Borrero Gonzalez --- 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 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; }