diff options
author | bde <bde@FreeBSD.org> | 1999-01-29 11:31:45 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-01-29 11:31:45 +0000 |
commit | cc48c70aca802844f758f365a4d8c646024c339a (patch) | |
tree | 168f3ae84fd284101f89f80cc381ad654dc09d2b /sys/pci | |
parent | 480f04f96750f46e8cb48177566cbbd51b0e828d (diff) | |
download | FreeBSD-src-cc48c70aca802844f758f365a4d8c646024c339a.zip FreeBSD-src-cc48c70aca802844f758f365a4d8c646024c339a.tar.gz |
Removed a bogus cast to v_caddr_t. This is part of terminating
v_caddr_t with extreme prejudice. Here the bogons were originally
the same as for c_caddr_t (half-baked K&R support), but rev.1.95
changed one wrong cast and one harmless cast to 2 wrong casts,
and rev.1.96 only fixed the originally wrong cast.
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/if_de.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/if_de.c b/sys/pci/if_de.c index e8c2ae4..49ae4a2 100644 --- a/sys/pci/if_de.c +++ b/sys/pci/if_de.c @@ -1,5 +1,5 @@ /* $NetBSD: if_de.c,v 1.80 1998/09/25 18:06:53 matt Exp $ */ -/* $Id: if_de.c,v 1.96 1999/01/28 17:32:02 dillon Exp $ */ +/* $Id: if_de.c,v 1.97 1999/01/29 08:29:05 bde Exp $ */ /*- * Copyright (c) 1994-1997 Matt Thomas (matt@3am-software.com) @@ -2412,7 +2412,7 @@ tulip_srom_decode( /* * Save the hardware address. */ - bcopy(shp->sh_ieee802_address, (v_caddr_t) sc->tulip_enaddr, 6); + bcopy(shp->sh_ieee802_address, sc->tulip_enaddr, 6); /* * If this is a multiple port card, add the adapter index to the last * byte of the hardware address. (if it isn't multiport, adding 0 |