summaryrefslogtreecommitdiff
path: root/drivers/block/floppy.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2014-06-18 11:44:18 (GMT)
committerJiri Kosina <jkosina@suse.cz>2014-06-18 11:44:18 (GMT)
commit1c65df3d7b1b311a73f5636a4ad6611f067baf1e (patch)
tree53d4b4d10a287cb2d6a183a467a1b056b8eb475f /drivers/block/floppy.c
parent6314a108ec19aefa5160535b2bfe1ca9c38efe37 (diff)
downloadlinux-1c65df3d7b1b311a73f5636a4ad6611f067baf1e.tar.xz
floppy: format block0 read error message properly
In case reading of block 0 fails, line without trailing newline is printed causing dmesg to look horrible. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/block/floppy.c')
-rw-r--r--drivers/block/floppy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c
index 8e767bb..f0c95df 100644
--- a/drivers/block/floppy.c
+++ b/drivers/block/floppy.c
@@ -3774,7 +3774,7 @@ static void floppy_rb0_cb(struct bio *bio, int err)
int drive = cbdata->drive;
if (err) {
- pr_info("floppy: error %d while reading block 0", err);
+ pr_info("floppy: error %d while reading block 0\n", err);
set_bit(FD_OPEN_SHOULD_FAIL_BIT, &UDRS->flags);
}
complete(&cbdata->complete);