mirror of https://github.com/ipxe/ipxe.git
Minor fix
parent
cce8755fb8
commit
7952bb76ec
|
@ -873,7 +873,7 @@ static int pcnet32_probe ( struct nic *nic, struct pci_device *pci ) {
|
||||||
// drivers/net/pcnet32.c:871: undefined reference to `memcpy'
|
// drivers/net/pcnet32.c:871: undefined reference to `memcpy'
|
||||||
// make: *** [bin/pcnet32.dsk.tmp] Error 1
|
// make: *** [bin/pcnet32.dsk.tmp] Error 1
|
||||||
// So we do:
|
// So we do:
|
||||||
memcpy ( &lp->a, a, sizeof ( a ) );
|
memcpy ( &lp->a, a, sizeof ( lp->a ) );
|
||||||
// To explicity call memcpy.
|
// To explicity call memcpy.
|
||||||
|
|
||||||
/* detect special T1/E1 WAN card by checking for MAC address */
|
/* detect special T1/E1 WAN card by checking for MAC address */
|
||||||
|
|
Loading…
Reference in New Issue