diff options
author | mjacob <mjacob@cvs.openbsd.org> | 2000-07-06 23:32:13 +0000 |
---|---|---|
committer | mjacob <mjacob@cvs.openbsd.org> | 2000-07-06 23:32:13 +0000 |
commit | c1e90a093e134a1b10a4c9ee6743eb187b2dcc29 (patch) | |
tree | c4dd8c2d16acb9bc924d4b95ecbac9a545e3f5a0 /sys | |
parent | ca9679431e3539d05563518ed9c5a518931ecdb0 (diff) |
#ifdef SIOCGIFMTU should have been SIOCSIFMTU.
Noticed by: Chris Cappuccio <chris@dqc.org>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_wx.c | 4 |
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; |