patch-1.3.21 linux/drivers/scsi/sd_ioctl.c

Next file: linux/drivers/sound/ad1848.c
Previous file: linux/drivers/scsi/scsi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.20/linux/drivers/scsi/sd_ioctl.c linux/drivers/scsi/sd_ioctl.c
@@ -30,7 +30,7 @@
     struct hd_geometry *loc = (struct hd_geometry *) arg;
     
     switch (cmd) {
-    case HDIO_REQ:   /* Return BIOS disk parameters */
+    case HDIO_GETGEO:   /* Return BIOS disk parameters */
 	if (!loc)  return -EINVAL;
 	error = verify_area(VERIFY_WRITE, loc, sizeof(*loc));
 	if (error)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this