Fixed typo in BSD code.

This commit is contained in:
Marcus Sundberg 2000-01-08 22:25:18 +00:00
parent 40297513b6
commit c19f07bf99

View file

@ -309,7 +309,7 @@ void CDAudio_Update(void)
subchnl.data_format = CD_CURRENT_POSITION; subchnl.data_format = CD_CURRENT_POSITION;
subchnl.track = 0; subchnl.track = 0;
subchnl.data_len = sizeof(subchnldata); subchnl.data_len = sizeof(subchnldata);
subchnl.data = &subchnl subchnl.data = &subchnl;
#endif #endif
if (ioctl(cdfile, CDROMSUBCHNL, &subchnl) == -1 ) { if (ioctl(cdfile, CDROMSUBCHNL, &subchnl) == -1 ) {
Con_DPrintf("CD subcchannel ioctl failed\n"); Con_DPrintf("CD subcchannel ioctl failed\n");