diff options
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_tap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_tap.c b/sys/net/if_tap.c index a317f0a..dd40cde 100644 --- a/sys/net/if_tap.c +++ b/sys/net/if_tap.c @@ -496,7 +496,7 @@ tapifinit(void *xtp) static int tapifioctl(struct ifnet *ifp, u_long cmd, caddr_t data) { - struct tap_softc *tp = (struct tap_softc *)(ifp->if_softc); + struct tap_softc *tp = ifp->if_softc; struct ifstat *ifs = NULL; int s, dummy; |