X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=block%2Fcompat_ioctl.c;h=cae0a852619e372a7a2e87b53b7f818a402f8d86;hb=9ca20ebc263260acfea35a1a4910203b7ce6bd5a;hp=f84093b97f704f3d7720708b6ca035741ca6a67f;hpb=547307420931344a868275bd7ea7a30f117a15a9;p=powerpc.git diff --git a/block/compat_ioctl.c b/block/compat_ioctl.c index f84093b97f..cae0a85261 100644 --- a/block/compat_ioctl.c +++ b/block/compat_ioctl.c @@ -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: