From: Matthew Hall Date: Thu, 30 Oct 2014 03:40:08 +0000 (+0000) Subject: eal/linux: fix inaccurate numa node error comment X-Git-Tag: spdx-start~10197 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a4ff75496a18f78bed3a678131bfdd11f1e8d3f7;p=dpdk.git eal/linux: fix inaccurate numa node error comment Signed-off-by: Matthew Hall Acked-by: Bruce Richardson --- 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) {