diff options
author | ache <ache@FreeBSD.org> | 1996-02-01 17:17:28 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-02-01 17:17:28 +0000 |
commit | 3886ec630b29e67328d4bc0fe20fa4930ed43413 (patch) | |
tree | b0d072259a31f66df262c05064b0a043ec7c89ac /usr.sbin/cdcontrol | |
parent | de3cde140a765869737af76783988b3ae5169900 (diff) | |
download | FreeBSD-src-3886ec630b29e67328d4bc0fe20fa4930ed43413.zip FreeBSD-src-3886ec630b29e67328d4bc0fe20fa4930ed43413.tar.gz |
Wrong field was used to determine audio/data disks
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 282051d..95bb2d1 100644 --- a/usr.sbin/cdcontrol/cdcontrol.c +++ b/usr.sbin/cdcontrol/cdcontrol.c @@ -447,7 +447,7 @@ void prtrack (struct cd_toc_entry *e, int lastflag) /* Print duration, block, length, type */ printf ("%2d:%02d.%02d %6d %6d %5s\n", m, s, f, block, len, - e->control & 4 ? "data" : "audio"); + e->addr_type & 4 ? "data" : "audio"); } int play_track (int tstart, int istart, int tend, int iend) |