patch-1.3.53 linux/drivers/scsi/scsi_ioctl.c

Next file: linux/drivers/scsi/seagate.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.52/linux/drivers/scsi/scsi_ioctl.c linux/drivers/scsi/scsi_ioctl.c
@@ -124,14 +124,14 @@
 	    break;
 	case NOT_READY: /* This happens if there is no disc in drive */
 	    if(dev->removable){
-		printk("Device not ready.  Make sure there is a disc in the drive.\n");
+		printk(KERN_INFO "Device not ready.  Make sure there is a disc in the drive.\n");
 		break;
 	    };
 	case UNIT_ATTENTION:
 	    if (dev->removable){
 		dev->changed = 1;
 		SCpnt->result = 0; /* This is no longer considered an error */
-		printk("Disc change detected.\n");
+		printk(KERN_INFO "Disc change detected.\n");
 		break;
 	    };
 	default: /* Fall through for non-removable media */

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