summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_pcn.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2006-05-28 00:04:25 +0000
committerJason Wright <jason@cvs.openbsd.org>2006-05-28 00:04:25 +0000
commitf32ef14b7e0390d427153634ede40cc7b15599a4 (patch)
tree110799db96d88d981b1eed5084c4ec10679cc7f4 /sys/dev/pci/if_pcn.c
parent5ad569a8f45da3f08e3c10b833fa352d852b6fbb (diff)
unknown ioctl is ENOTTY not EINVAL
Diffstat (limited to 'sys/dev/pci/if_pcn.c')
-rw-r--r--sys/dev/pci/if_pcn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_pcn.c b/sys/dev/pci/if_pcn.c
index 8f2e5763cb5..0daa053f659 100644
--- a/sys/dev/pci/if_pcn.c
+++ b/sys/dev/pci/if_pcn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pcn.c,v 1.12 2006/04/21 14:16:08 mickey Exp $ */
+/* $OpenBSD: if_pcn.c,v 1.13 2006/05/28 00:04:24 jason Exp $ */
/* $NetBSD: if_pcn.c,v 1.26 2005/05/07 09:15:44 is Exp $ */
/*
@@ -1136,7 +1136,7 @@ pcn_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
break;
default:
- error = EINVAL;
+ error = ENOTTY;
}
/* Try to get more packets going. */