summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/s390/char/vmcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/char/vmcp.c b/drivers/s390/char/vmcp.c
index 18b30119a70e..30fd474c86b3 100644
--- a/drivers/s390/char/vmcp.c
+++ b/drivers/s390/char/vmcp.c
@@ -231,7 +231,7 @@ static long vmcp_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
return put_user(temp, argp);
default:
mutex_unlock(&session->mutex);
- return -ENOIOCTLCMD;
+ return -ENOTTY;
}
}