summaryrefslogtreecommitdiff
path: root/ext2fs/getblk.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext2fs/getblk.c')
-rw-r--r--ext2fs/getblk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/getblk.c b/ext2fs/getblk.c
index bde66e1c..d7ddb6a1 100644
--- a/ext2fs/getblk.c
+++ b/ext2fs/getblk.c
@@ -105,7 +105,7 @@ ext2_alloc_block (struct node *node, block_t goal, int zero)
if (result && zero)
{
char *bh = disk_cache_block_ref (result);
- bzero (bh, block_size);
+ memset (bh, 0, block_size);
record_indir_poke (node, bh);
}