Commit 284851bf authored by Jeff Garzik's avatar Jeff Garzik

[libata] return ENOTTY rather than EOPNOTSUPP for unknown-ioctl

parent 6f60f5cf
......@@ -97,7 +97,7 @@ int ata_scsi_ioctl(struct scsi_device *scsidev, int cmd, void __user *arg)
return 0;
default:
rc = -EOPNOTSUPP;
rc = -ENOTTY;
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment