]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - block/compat_ioctl.c
[ARM] 4679/1: AT91: Change maintainer email address
[linux-2.6-omap-h63xx.git] / block / compat_ioctl.c
index f84093b97f704f3d7720708b6ca035741ca6a67f..cae0a852619e372a7a2e87b53b7f818a402f8d86 100644 (file)
@@ -581,7 +581,7 @@ static int compat_blkdev_driver_ioctl(struct inode *inode, struct file *file,
 {
        int ret;
 
-       switch (arg) {
+       switch (cmd) {
        case HDIO_GET_UNMASKINTR:
        case HDIO_GET_MULTCOUNT:
        case HDIO_GET_KEEPSETTINGS: