Fixed a bug in BSD code.

This commit is contained in:
Marcus Sundberg 2000-01-08 22:35:21 +00:00
parent 8f503d8209
commit b227999f7a

View file

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