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>
This commit is contained in:
parent
6314a108ec
commit
1c65df3d7b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue