mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-31 16:57:10 +00:00
Update for new format of cd_toc_entry that was changed in sys/cdio.h.
This commit is contained in:
parent
f01af6a678
commit
51c16d62df
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1097
@ -35,7 +35,7 @@
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: mcd.c,v 1.6 1994/01/18 02:20:15 nate Exp $
|
||||
* $Id: mcd.c,v 1.7 1994/01/22 18:00:54 ats Exp $
|
||||
*/
|
||||
static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";
|
||||
|
||||
@ -1079,9 +1079,9 @@ static int mcd_toc_entry(int unit, struct ioc_read_toc_entry *te)
|
||||
ret_toc.rt.track = i;
|
||||
if (te->address_format == CD_MSF_FORMAT)
|
||||
{
|
||||
ret_toc.rt.addr[1] = cd->toc[i].hd_pos_msf[0];
|
||||
ret_toc.rt.addr[2] = cd->toc[i].hd_pos_msf[1];
|
||||
ret_toc.rt.addr[3] = cd->toc[i].hd_pos_msf[2];
|
||||
ret_toc.rt.addr.addr[1] = cd->toc[i].hd_pos_msf[0];
|
||||
ret_toc.rt.addr.addr[2] = cd->toc[i].hd_pos_msf[1];
|
||||
ret_toc.rt.addr.addr[3] = cd->toc[i].hd_pos_msf[2];
|
||||
}
|
||||
|
||||
/* copy the data back */
|
||||
|
@ -35,7 +35,7 @@
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: mcd.c,v 1.6 1994/01/18 02:20:15 nate Exp $
|
||||
* $Id: mcd.c,v 1.7 1994/01/22 18:00:54 ats Exp $
|
||||
*/
|
||||
static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";
|
||||
|
||||
@ -1079,9 +1079,9 @@ static int mcd_toc_entry(int unit, struct ioc_read_toc_entry *te)
|
||||
ret_toc.rt.track = i;
|
||||
if (te->address_format == CD_MSF_FORMAT)
|
||||
{
|
||||
ret_toc.rt.addr[1] = cd->toc[i].hd_pos_msf[0];
|
||||
ret_toc.rt.addr[2] = cd->toc[i].hd_pos_msf[1];
|
||||
ret_toc.rt.addr[3] = cd->toc[i].hd_pos_msf[2];
|
||||
ret_toc.rt.addr.addr[1] = cd->toc[i].hd_pos_msf[0];
|
||||
ret_toc.rt.addr.addr[2] = cd->toc[i].hd_pos_msf[1];
|
||||
ret_toc.rt.addr.addr[3] = cd->toc[i].hd_pos_msf[2];
|
||||
}
|
||||
|
||||
/* copy the data back */
|
||||
|
Loading…
Reference in New Issue
Block a user