summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcic.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pccard/pcic.c')
-rw-r--r--sys/pccard/pcic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c
index be08130..278c388 100644
--- a/sys/pccard/pcic.c
+++ b/sys/pccard/pcic.c
@@ -854,7 +854,7 @@ pcic_ioctl(struct slot *slt, int cmd, caddr_t data)
switch(cmd) {
default:
- return(EINVAL);
+ return(ENOTTY);
/*
* Get/set PCIC registers
*/
OpenPOWER on IntegriCloud