From c1e90a093e134a1b10a4c9ee6743eb187b2dcc29 Mon Sep 17 00:00:00 2001 From: mjacob Date: Thu, 6 Jul 2000 23:32:13 +0000 Subject: #ifdef SIOCGIFMTU should have been SIOCSIFMTU. Noticed by: Chris Cappuccio --- sys/dev/pci/if_wx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') 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; -- cgit v1.2.3