aboutsummaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2014-06-18 13:44:18 +0200
committerJiri Kosina <jkosina@suse.cz>2014-06-18 13:44:18 +0200
commit1c65df3d7b1b311a73f5636a4ad6611f067baf1e (patch)
tree53d4b4d10a287cb2d6a183a467a1b056b8eb475f /drivers/block
parent6314a108ec19aefa5160535b2bfe1ca9c38efe37 (diff)
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')
-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 8e767bb7995..f0c95df1f14 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);