diff options
author | Jiri Kosina <jkosina@suse.cz> | 2014-06-18 13:44:18 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-06-18 13:44:18 +0200 |
commit | 1c65df3d7b1b311a73f5636a4ad6611f067baf1e (patch) | |
tree | 53d4b4d10a287cb2d6a183a467a1b056b8eb475f | |
parent | 6314a108ec19aefa5160535b2bfe1ca9c38efe37 (diff) | |
download | linux-1c65df3d7b1b311a73f5636a4ad6611f067baf1e.tar.bz2 |
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>
-rw-r--r-- | drivers/block/floppy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c index 8e767bb7995e..f0c95df1f14a 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); |