diff options
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++; |