summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormjacob <mjacob@cvs.openbsd.org>2000-07-06 23:32:13 +0000
committermjacob <mjacob@cvs.openbsd.org>2000-07-06 23:32:13 +0000
commitc1e90a093e134a1b10a4c9ee6743eb187b2dcc29 (patch)
treec4dd8c2d16acb9bc924d4b95ecbac9a545e3f5a0
parentca9679431e3539d05563518ed9c5a518931ecdb0 (diff)
#ifdef SIOCGIFMTU should have been SIOCSIFMTU.
Noticed by: Chris Cappuccio <chris@dqc.org>
-rw-r--r--sys/dev/pci/if_wx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_wx.c b/sys/dev/pci/if_wx.c
index 5d1a50a70e1..2a8cf5b0977 100644
--- a/sys/dev/pci/if_wx.c
+++ b/sys/dev/pci/if_wx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wx.c,v 1.4 2000/07/06 06:19:08 mjacob Exp $ */
+/* $OpenBSD: if_wx.c,v 1.5 2000/07/06 23:32:12 mjacob Exp $ */
/*
* Copyright (c) 1999, Traakan Software
@@ -1992,7 +1992,7 @@ wx_ioctl(ifp, command, data)
error = ether_ioctl(ifp, command, data);
break;
-#ifdef SIOCGIFMTU
+#ifdef SIOCSIFMTU
case SIOCSIFMTU:
if (ifr->ifr_mtu > WX_MAXMTU || ifr->ifr_mtu < ETHERMIN) {
error = EINVAL;