diff options
-rw-r--r-- | sys/dev/pci/if_san_common.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pci/if_san_common.c b/sys/dev/pci/if_san_common.c index eebfdbfb176..77f3ca913da 100644 --- a/sys/dev/pci/if_san_common.c +++ b/sys/dev/pci/if_san_common.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_san_common.c,v 1.12 2007/10/01 15:34:48 krw Exp $ */ +/* $OpenBSD: if_san_common.c,v 1.13 2009/02/08 20:07:44 chl Exp $ */ /*- * Copyright (c) 2001-2004 Sangoma Technologies (SAN) @@ -260,7 +260,6 @@ release_hw(sdla_t *card) static int wan_ioctl(struct ifnet *ifp, int cmd, struct ifreq *ifr) { - sdla_t *card; wanpipe_common_t *common = WAN_IFP_TO_COMMON(ifp); int err; @@ -276,7 +275,7 @@ wan_ioctl(struct ifnet *ifp, int cmd, struct ifreq *ifr) break; case SIOC_WANPIPE_DUMP: - err = wan_ioctl_dump(card, ifr->ifr_data); + err = wan_ioctl_dump(common->card, ifr->ifr_data); break; default: |