diff options
author | imp <imp@FreeBSD.org> | 2006-07-21 19:13:05 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2006-07-21 19:13:05 +0000 |
commit | 435ff541d8eed9d30fe01b486b84ea7a8b76eeb5 (patch) | |
tree | f4f3718924908dbc0855e1e2ab9ce8a647b17d8f /sys/dev | |
parent | 636a28fc7515b76a295e7dbd13d3e2448831f7b8 (diff) | |
download | FreeBSD-src-435ff541d8eed9d30fe01b486b84ea7a8b76eeb5.zip FreeBSD-src-435ff541d8eed9d30fe01b486b84ea7a8b76eeb5.tar.gz |
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.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ata/ata-queue.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-queue.c b/sys/dev/ata/ata-queue.c index 6a58e35..75ef928 100644 --- a/sys/dev/ata/ata-queue.c +++ b/sys/dev/ata/ata-queue.c @@ -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 ? |