diff options
author | 2006-05-28 00:04:24 +0000 | |
---|---|---|
committer | 2006-05-28 00:04:24 +0000 | |
commit | b0b3f090d4cae8d7b79d70ee996782473e5572db (patch) | |
tree | 454496cc82def973ea6e6ae0500318597beda3ce /sys/dev/pci/if_xge.c | |
parent | unknown ioctl is ENOTTY not EINVAL (diff) | |
download | wireguard-openbsd-b0b3f090d4cae8d7b79d70ee996782473e5572db.tar.xz wireguard-openbsd-b0b3f090d4cae8d7b79d70ee996782473e5572db.zip |
unknown ioctl is ENOTTY not EINVAL
Diffstat (limited to 'sys/dev/pci/if_xge.c')
-rw-r--r-- | sys/dev/pci/if_xge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_xge.c b/sys/dev/pci/if_xge.c index ce5d784782f..d6d6707d50b 100644 --- a/sys/dev/pci/if_xge.c +++ b/sys/dev/pci/if_xge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xge.c,v 1.15 2006/05/27 10:03:15 brad Exp $ */ +/* $OpenBSD: if_xge.c,v 1.16 2006/05/28 00:04:24 jason Exp $ */ /* $NetBSD: if_xge.c,v 1.1 2005/09/09 10:30:27 ragge Exp $ */ /* @@ -917,7 +917,7 @@ xge_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) error = ifmedia_ioctl(ifp, ifr, &sc->xena_media, cmd); break; default: - error = EINVAL; + error = ENOTTY; } splx(s); |