]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
Minor fix
authorMichael Brown <mcb30@etherboot.org>
Mon, 25 Sep 2006 14:41:54 +0000 (14:41 +0000)
committerMichael Brown <mcb30@etherboot.org>
Mon, 25 Sep 2006 14:41:54 +0000 (14:41 +0000)
src/drivers/net/pcnet32.c

index 49391197a18481f8daad9107dd0ae9286f2f2889..179e3ca5ae998d3297cedd69600d39c97ff7c34d 100644 (file)
@@ -873,7 +873,7 @@ static int pcnet32_probe ( struct nic *nic, struct pci_device *pci ) {
        //     drivers/net/pcnet32.c:871: undefined reference to `memcpy'
        //     make: *** [bin/pcnet32.dsk.tmp] Error 1
        //  So we do:
-       memcpy ( &lp->a, a, sizeof ( a ) );
+       memcpy ( &lp->a, a, sizeof ( lp->a ) );
        //   To explicity call memcpy.
 
        /* detect special T1/E1 WAN card by checking for MAC address */