diff options
Diffstat (limited to 'usr.sbin/cdcontrol/cdcontrol.c')
-rw-r--r-- | usr.sbin/cdcontrol/cdcontrol.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/cdcontrol/cdcontrol.c b/usr.sbin/cdcontrol/cdcontrol.c index 7b90e34..f497c52 100644 --- a/usr.sbin/cdcontrol/cdcontrol.c +++ b/usr.sbin/cdcontrol/cdcontrol.c @@ -1015,7 +1015,8 @@ void prtrack (struct cd_toc_entry *e, int lastflag) else next = ntohl(e[1].addr.lba); len = next - block; - lba2msf (len, &m, &s, &f); + /* Take into account a start offset time. */ + lba2msf (len - 150, &m, &s, &f); /* Print duration, block, length, type */ printf ("%2d:%02d.%02d %6d %6d %5s\n", m, s, f, block, len, |