diff options
author | Rob Landley | 2006-06-13 15:12:14 +0000 |
---|---|---|
committer | Rob Landley | 2006-06-13 15:12:14 +0000 |
commit | 9a1a9de49f4a6fdbd02150cf4404d2b127d79cbe (patch) | |
tree | 5f25a66dd40014a32916ff43f69ecd2b8e2fa00d /util-linux | |
parent | 9a202c9daaac25296129d1b2d63fedd28efe4a0d (diff) | |
download | busybox-9a1a9de49f4a6fdbd02150cf4404d2b127d79cbe.zip busybox-9a1a9de49f4a6fdbd02150cf4404d2b127d79cbe.tar.gz |
Minor size shrinkage.
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/fsck_minix.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c index 422cae3..a5d52b2 100644 --- a/util-linux/fsck_minix.c +++ b/util-linux/fsck_minix.c @@ -677,10 +677,8 @@ static void read_superblock(void) static void read_tables(void) { - inode_map = xmalloc(IMAPS * BLOCK_SIZE); - zone_map = xmalloc(ZMAPS * BLOCK_SIZE); - memset(inode_map, 0, IMAPS * BLOCK_SIZE); - memset(zone_map, 0, ZMAPS * BLOCK_SIZE); + inode_map = xzalloc(IMAPS * BLOCK_SIZE); + zone_map = xzalloc(ZMAPS * BLOCK_SIZE); inode_buffer = xmalloc(INODE_BUFFER_SIZE); inode_count = xmalloc(INODES + 1); zone_count = xmalloc(ZONES); |