From a4ff75496a18f78bed3a678131bfdd11f1e8d3f7 Mon Sep 17 00:00:00 2001 From: Matthew Hall Date: Thu, 30 Oct 2014 03:40:08 +0000 Subject: [PATCH] eal/linux: fix inaccurate numa node error comment Signed-off-by: Matthew Hall Acked-by: Bruce Richardson --- lib/librte_eal/linuxapp/eal/eal_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/linuxapp/eal/eal_pci.c b/lib/librte_eal/linuxapp/eal/eal_pci.c index 5fe3961ef8..ddb05352ec 100644 --- a/lib/librte_eal/linuxapp/eal/eal_pci.c +++ b/lib/librte_eal/linuxapp/eal/eal_pci.c @@ -266,7 +266,7 @@ pci_scan_one(const char *dirname, uint16_t domain, uint8_t bus, snprintf(filename, sizeof(filename), "%s/numa_node", dirname); if (access(filename, R_OK) != 0) { - /* if no NUMA support just set node to 0 */ + /* if no NUMA support just set node to -1 */ dev->numa_node = -1; } else { if (eal_parse_sysfs_value(filename, &tmp) < 0) { -- 2.20.1