summaryrefslogtreecommitdiff
path: root/usr.sbin/cdcontrol/cdcontrol.c
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>2003-03-24 20:54:30 +0000
committerEivind Eklund <eivind@FreeBSD.org>2003-03-24 20:54:30 +0000
commit07796aea232be1dcbb335c34fc001272a85030d5 (patch)
tree0feea0c0ea178542246d749c1f008cc62021aaf2 /usr.sbin/cdcontrol/cdcontrol.c
parent1352a5425508d892df8feeddbffb973f895a3cc7 (diff)
downloadsrc-test2-07796aea232be1dcbb335c34fc001272a85030d5.tar.gz
src-test2-07796aea232be1dcbb335c34fc001272a85030d5.zip
Notes
Diffstat (limited to 'usr.sbin/cdcontrol/cdcontrol.c')
-rw-r--r--usr.sbin/cdcontrol/cdcontrol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/cdcontrol/cdcontrol.c b/usr.sbin/cdcontrol/cdcontrol.c
index 35ea358feb7a..47c55b41f110 100644
--- a/usr.sbin/cdcontrol/cdcontrol.c
+++ b/usr.sbin/cdcontrol/cdcontrol.c
@@ -581,6 +581,8 @@ Play_Relative_Addresses:
else if (tr1 > n)
tr1 = n;
+ tr1--;
+
if (msf) {
tm = toc_buffer[tr1].addr.msf.minute;
ts = toc_buffer[tr1].addr.msf.second;
@@ -597,8 +599,6 @@ Play_Relative_Addresses:
return (0);
}
- tr1--;
-
f1 += tf;
if (f1 >= 75) {
s1 += f1 / 75;