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_vr.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_vr.c')
-rw-r--r-- | sys/dev/pci/if_vr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_vr.c b/sys/dev/pci/if_vr.c index 70973f8c283..a72d939147a 100644 --- a/sys/dev/pci/if_vr.c +++ b/sys/dev/pci/if_vr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vr.c,v 1.62 2006/04/28 06:32:31 brad Exp $ */ +/* $OpenBSD: if_vr.c,v 1.63 2006/05/28 00:04:24 jason Exp $ */ /* * Copyright (c) 1997, 1998 @@ -1578,7 +1578,7 @@ vr_ioctl(struct ifnet *ifp, u_long command, caddr_t data) error = ifmedia_ioctl(ifp, ifr, &sc->sc_mii.mii_media, command); break; default: - error = EINVAL; + error = ENOTTY; break; } |