git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pci: fix build on FreeBSD
[dpdk.git]
/
lib
/
librte_eal
/
bsdapp
/
eal
/
eal_pci.c
diff --git
a/lib/librte_eal/bsdapp/eal/eal_pci.c
b/lib/librte_eal/bsdapp/eal/eal_pci.c
index
ff56cd3
..
6fa0d08
100644
(file)
--- a/
lib/librte_eal/bsdapp/eal/eal_pci.c
+++ b/
lib/librte_eal/bsdapp/eal/eal_pci.c
@@
-459,7
+459,7
@@
int rte_eal_pci_write_config(const struct rte_pci_device *dev,
goto error;
}
- memcpy(pi.pi_data, buf, len);
+ memcpy(
&
pi.pi_data, buf, len);
fd = open("/dev/pci", O_RDONLY);
if (fd < 0) {