diff options
author | phk <phk@FreeBSD.org> | 2002-05-18 09:07:12 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-05-18 09:07:12 +0000 |
commit | 317736446e21f375eb8f5370ac8fb007c6a30654 (patch) | |
tree | 982d3171d6ffbce6eda244b83e06380ed91c3132 /lib/libstand | |
parent | 1c9bbd16b9015639dafac47215489e9f61cff688 (diff) | |
download | FreeBSD-src-317736446e21f375eb8f5370ac8fb007c6a30654.zip FreeBSD-src-317736446e21f375eb8f5370ac8fb007c6a30654.tar.gz |
UFS indirect blocks are size u_int32_t, not daddr_t
Diffstat (limited to 'lib/libstand')
-rw-r--r-- | lib/libstand/ufs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libstand/ufs.c b/lib/libstand/ufs.c index e31c298..2bd9d17 100644 --- a/lib/libstand/ufs.c +++ b/lib/libstand/ufs.c @@ -199,7 +199,7 @@ block_map(f, file_block, disk_block_p) int level; int idx; daddr_t ind_block_num; - daddr_t *ind_p; + u_int32_t *ind_p; int rc; /* @@ -274,7 +274,7 @@ block_map(f, file_block, disk_block_p) fp->f_blkno[level] = ind_block_num; } - ind_p = (daddr_t *)fp->f_blk[level]; + ind_p = (u_int32_t *)fp->f_blk[level]; if (level > 0) { idx = file_block / fp->f_nindir[level - 1]; |