Sfoglia il codice sorgente

Minor fix

tags/v0.9.3
Michael Brown 18 anni fa
parent
commit
7952bb76ec
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/drivers/net/pcnet32.c

+ 1
- 1
src/drivers/net/pcnet32.c Vedi File

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

Loading…
Annulla
Salva