diff options
author | ache <ache@FreeBSD.org> | 1996-01-30 12:00:43 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-01-30 12:00:43 +0000 |
commit | edbc3e1bafac9162c3debd04decc99ea37ee3516 (patch) | |
tree | 256d901641778bcdb7714b0c67d68c8f0bcc0e4b /usr.sbin/cdcontrol | |
parent | 725ecb752551fbc86926498e91a033d065723a26 (diff) | |
download | FreeBSD-src-edbc3e1bafac9162c3debd04decc99ea37ee3516.zip FreeBSD-src-edbc3e1bafac9162c3debd04decc99ea37ee3516.tar.gz |
Use starting track 0 for READTOCENTRYS, should be converted
to real starting track in CD driver.
Old code assume that starting track is always 1.
Diffstat (limited to 'usr.sbin/cdcontrol')
-rw-r--r-- | usr.sbin/cdcontrol/cdcontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/cdcontrol/cdcontrol.c b/usr.sbin/cdcontrol/cdcontrol.c index 8a8274a..282051d 100644 --- a/usr.sbin/cdcontrol/cdcontrol.c +++ b/usr.sbin/cdcontrol/cdcontrol.c @@ -486,7 +486,7 @@ int read_toc_entrys (int len) struct ioc_read_toc_entry t; t.address_format = CD_MSF_FORMAT; - t.starting_track = 1; + t.starting_track = 0; t.data_len = len; t.data = toc_buffer; return ioctl (fd, CDIOREADTOCENTRYS, (char *) &t); |