diff options
author | Jiri Kosina | 2014-06-18 13:44:18 +0200 |
---|---|---|
committer | Jiri Kosina | 2014-06-18 13:44:18 +0200 |
commit | 1c65df3d7b1b311a73f5636a4ad6611f067baf1e (patch) | |
tree | 53d4b4d10a287cb2d6a183a467a1b056b8eb475f | |
parent | floppy: do not corrupt bio.bi_flags when reading block 0 (diff) | |
download | kernel-qcow2-linux-1c65df3d7b1b311a73f5636a4ad6611f067baf1e.tar.gz kernel-qcow2-linux-1c65df3d7b1b311a73f5636a4ad6611f067baf1e.tar.xz kernel-qcow2-linux-1c65df3d7b1b311a73f5636a4ad6611f067baf1e.zip |
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); |