From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by dpdk.org (Postfix) with ESMTP id 84B1D30D for ; Wed, 2 Jul 2014 17:02:58 +0200 (CEST) Received: by mail-wi0-f180.google.com with SMTP id hi2so677422wib.7 for ; Wed, 02 Jul 2014 08:03:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=nUJpTV294RD+HqsujfXY6gF+05ZNgByN/tV2q1jneMM=; b=mRoBmIo825LaJeruTX1nY6bJ/AOdD6MUHbjSBu6c046L+pElTW5u0lJ4cU6SnNeHds 1wo0EI/r6db/pwTYID2jixPfwwamdhXNL3yYMRifcfvxTALjy36U45wYw3ezYJ8/cVni Rt4/FEeo+bekdhmynEuAKE2fIuHPfbulfBGzXJX7i5d5nMGGCSfyEsHqXZMhjIPAnnmy 6zM4gTtnwAoZ/KJZAtOv/V9nx1w20npRZPf47yRrXgSftL0Au31zfOWIFfygWtSjQ+GC SYAsExu30YtL59dXVy+F899Jv+bXOoL/aIanMBuPKIPOcJNMMq2y+F88R+y7yvQGT7ZF k2+A== X-Gm-Message-State: ALoCoQmQ5kkSmOXVU5N53a8cDojgfVUw4ct1kyVwIYkNihrCDZIK271lw9p+8eShOLfgwNurN3pn X-Received: by 10.194.23.135 with SMTP id m7mr60432894wjf.2.1404313399071; Wed, 02 Jul 2014 08:03:19 -0700 (PDT) Received: from XPS13.dev.6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id fc7sm55588765wjc.37.2014.07.02.08.03.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Jul 2014 08:03:18 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org Date: Wed, 2 Jul 2014 17:02:51 +0200 Message-Id: <1404313375-2205-4-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1404313375-2205-1-git-send-email-thomas.monjalon@6wind.com> References: <1404313375-2205-1-git-send-email-thomas.monjalon@6wind.com> Subject: [dpdk-dev] [PATCH 3/7] ethdev: fix build of named allocation debug X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2014 15:02:58 -0000 The commit 83b41136934 (add unique name to devices) didn't compile if CONFIG_RTE_LIBRTE_ETHDEV_DEBUG is enabled. Signed-off-by: Thomas Monjalon --- lib/librte_ether/rte_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c index 8dccc6f..fd1010a 100644 --- a/lib/librte_ether/rte_ethdev.c +++ b/lib/librte_ether/rte_ethdev.c @@ -180,7 +180,7 @@ rte_eth_dev_allocate(const char *name) rte_eth_dev_data_alloc(); if (rte_eth_dev_allocated(name) != NULL) { - PMD_DEBUG_TRACE("Ethernet Device with name %s already allocated!\n"); + PMD_DEBUG_TRACE("Ethernet Device with name %s already allocated!\n", name); return NULL; } -- 2.0.0