summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_de.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/if_de.c')
-rw-r--r--sys/dev/pci/if_de.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/pci/if_de.c b/sys/dev/pci/if_de.c
index 3602ebe2d14..e59afbbfb57 100644
--- a/sys/dev/pci/if_de.c
+++ b/sys/dev/pci/if_de.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_de.c,v 1.90 2006/05/09 20:58:56 brad Exp $ */
+/* $OpenBSD: if_de.c,v 1.91 2006/05/28 00:04:24 jason Exp $ */
/* $NetBSD: if_de.c,v 1.58 1998/01/12 09:39:58 thorpej Exp $ */
/*-
@@ -4282,11 +4282,10 @@ tulip_ifioctl(
ifp->if_mtu = ifr->ifr_mtu;
break;
- default: {
- error = EINVAL;
+ default:
+ error = ENOTTY;
break;
}
- }
splx(s);
TULIP_PERFEND(ifioctl);