If we get an error w/o atapi sense information, just print a newline

to terminate the message we started.  I get non-terminated messages
when reading audio tracks w/o this patch.
This commit is contained in:
Warner Losh 2006-07-21 19:13:05 +00:00
parent da83bf18e4
commit 8fcb4ef1cf

View File

@ -430,6 +430,8 @@ ata_completed(void *context, int dummy)
request->u.atapi.sense.specific & ATA_SENSE_SPEC_MASK,
request->u.atapi.sense.specific1,
request->u.atapi.sense.specific2);
else
printf("\n");
}
if ((request->u.atapi.sense.key & ATA_SENSE_KEY_MASK ?