Commit 1c65df3d authored by Jiri Kosina's avatar Jiri Kosina

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: default avatarJiri Kosina <jkosina@suse.cz>
parent 6314a108
...@@ -3774,7 +3774,7 @@ static void floppy_rb0_cb(struct bio *bio, int err) ...@@ -3774,7 +3774,7 @@ static void floppy_rb0_cb(struct bio *bio, int err)
int drive = cbdata->drive; int drive = cbdata->drive;
if (err) { 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); set_bit(FD_OPEN_SHOULD_FAIL_BIT, &UDRS->flags);
} }
complete(&cbdata->complete); complete(&cbdata->complete);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment