>Synopsis: cdio: error message formatting is a bit off
>Category: user
>Environment:
System : OpenBSD 7.1
Details : OpenBSD 7.1 (GENERIC.MP) #3: Sun May 15 10:27:01
MDT 2022
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
Architecture: OpenBSD.amd64
Machine : amd64
>Description:
When I try to rip a particular audio CD, I get errors from cdio
on the last track. The error messages have some formatting
issues.
Here's a log:
$ cdio cdrip
track 1 'a' 00000000/00013998 0%
...
track 1 'a' 00013998/00013998 100%
track 2 'a' 00000000/00014337 0%
...
track 2 'a' 00014337/00014337 100%
track 3 'a' 00000000/00015715 0%
...
track 3 'a' 00015715/00015715 100%
track 4 'a' 00000000/00012620 0%
...
track 4 'a' 00012620/00012620 100%
track 5 'a' 00000000/00009313 0%
...
track 5 'a' 00009313/00009313 100%
track 6 'a' 00000000/00020057 0%
...
track 6 'a' 00020057/00020057 100%
track 7 'a' 00000000/00012168 0%
...
track 7 'a' 00012168/00012168 100%
track 8 'a' 00000000/00017097 0%
...
track 8 'a' 00017097/00017097 100%
track 9 'a' 00000000/00019490 0%
...
track 9 'a' 00019490/00019490 100%
track 10 'a' 00000000/00018790 0%
...
track 10 'a' 00018790/00018790 100%
track 11 'a' 00000000/00011568 0%
...
track 11 'a' 00011568/00011568 100%
track 12 'a' 00000000/00019795 0%
...
track 12 'a' 00019795/00019795 100%
track 13 'a' 00000000/00016427 0%
...
track 13 'a' 00016427/00016427 100%
track 14 'a' 00000000/00031943 0%
track 14 'a' 00020446/00031943 64%cdio:
error while reading from device
cdio: can't rip 14 track
$
>How-To-Repeat:
Simply running `cdio cdrip` with this particular CD on my
system will reproduce the error and thus the above error
messages.
>Fix:
There should be a line break before the first "cdio:". And the
number of the tack it wasn't able to rip should go to the end
of the second message.