changeset 14643:d59cc68ba13b

bzero is deprecated patch by ?Gianluigi Tiesi <mplayer at netfarm.it>
author faust3
date Fri, 04 Feb 2005 18:46:55 +0000
parents 38572280e8e7
children 36d53262f626
files libmpdvdkit2/bsdi_ioctl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdvdkit2/bsdi_ioctl.c	Fri Feb 04 18:31:04 2005 +0000
+++ b/libmpdvdkit2/bsdi_ioctl.c	Fri Feb 04 18:46:55 2005 +0000
@@ -694,7 +694,7 @@
 	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