summaryrefslogtreecommitdiff
path: root/isofs
diff options
context:
space:
mode:
Diffstat (limited to 'isofs')
-rw-r--r--isofs/inode.c2
-rw-r--r--isofs/pager.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/isofs/inode.c b/isofs/inode.c
index cdc05ae3..247d8ac7 100644
--- a/isofs/inode.c
+++ b/isofs/inode.c
@@ -599,7 +599,7 @@ diskfs_set_statfs (struct statfs *st)
{
/* There is no easy way to determine the number of files on an
ISO 9660 filesystem. */
- bzero (st, sizeof *st);
+ memset (st, 0, sizeof *st);
st->f_type = FSTYPE_ISO9660;
st->f_bsize = logical_block_size;
st->f_blocks = isonum_733 (sblock->vol_sp_size);
diff --git a/isofs/pager.c b/isofs/pager.c
index d72a5144..35de37e4 100644
--- a/isofs/pager.c
+++ b/isofs/pager.c
@@ -75,7 +75,7 @@ pager_read_page (struct user_pager_info *upi,
return EIO;
if (overrun)
- bzero ((void *) *buf + vm_page_size - overrun, overrun);
+ memset ((void *)*buf + vm_page_size - overrun, 0, overrun);
return 0;
}