diff options
author | scottl <scottl@FreeBSD.org> | 2005-01-18 10:15:23 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2005-01-18 10:15:23 +0000 |
commit | a56b80c6cca7d00af2d3eeab040189fef5ae5045 (patch) | |
tree | 65e1f697d2495864205fb0143968af98e74dcf5f /sys/fs/udf | |
parent | 13fe9ea5a213be76500057f81901939ad340fea0 (diff) | |
download | FreeBSD-src-a56b80c6cca7d00af2d3eeab040189fef5ae5045.zip FreeBSD-src-a56b80c6cca7d00af2d3eeab040189fef5ae5045.tar.gz |
Fix an incorrect cast.
Submitted by: Andriy Gapon
MFC-after: 3 days.
Diffstat (limited to 'sys/fs/udf')
-rw-r--r-- | sys/fs/udf/udf_vnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/udf/udf_vnops.c b/sys/fs/udf/udf_vnops.c index b0ce23a..a7d4219 100644 --- a/sys/fs/udf/udf_vnops.c +++ b/sys/fs/udf/udf_vnops.c @@ -1153,7 +1153,7 @@ udf_bmap_internal(struct udf_node *node, off_t offset, daddr_t *sector, printf("File offset out of bounds\n"); return (EINVAL); } - icb = GETICB(long_ad, fentry, + icb = GETICB(short_ad, fentry, le32toh(fentry->l_ea) + ad_offset); icblen = GETICBLEN(short_ad, icb); ad_num++; |