Browse Source

Minor fix

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
7952bb76ec
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/drivers/net/pcnet32.c

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

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

Loading…
Cancel
Save