bzero is deprecated patch by  Gianluigi Tiesi <mplayer at netfarm.it>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14644 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2005-02-04 18:46:55 +00:00
parent b08e2e7c08
commit 9507ae9238
1 changed files with 1 additions and 1 deletions

View File

@ -694,7 +694,7 @@ static void cdrom_count_tracks(int fd, tracktype *tracks)
struct cdrom_tocentry entry;
int ret, i;
bzero(tracks, sizeof (*tracks));
memset(tracks, 0, sizeof (*tracks));
ret = cdrom_ioctl(fd, CDROMREADTOCHDR, &header);
/*
* This whole business is a crock anyhow so we don't bother distinguishing