patch-2.4.15 linux/drivers/s390/block/dasd_eckd.c

Next file: linux/drivers/s390/char/tape34xx.c
Previous file: linux/drivers/s390/block/dasd_3990_erp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.14/linux/drivers/s390/block/dasd_eckd.c linux/drivers/s390/block/dasd_eckd.c
@@ -631,7 +631,7 @@
 		}
 	}
 	if (device->sizes.bp_block == 0) {
-		DASD_MESSAGE (KERN_WARNING, device, "%s\n",
+		DASD_MESSAGE (KERN_WARNING, device, "%s",
 			      "Volume has incompatible disk layout");
 		return -EMEDIUMTYPE;
 	}
@@ -746,7 +746,7 @@
 	     (fdata->start_unit / private->rdc_data.no_cyl) %
 	     (private->rdc_data.no_cyl / 20))) {
 		DASD_MESSAGE (KERN_INFO, device,
-			      "Format Cylinder: %d Flags: %d\n",
+			      "Format Cylinder: %d Flags: %d",
 			      fdata->start_unit / private->rdc_data.trk_per_cyl, fdata->intensity);
 	}
 	if ((fdata->intensity & ~0x8) & 0x04) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)