diff options
| author | Andriy Gapon <avg@FreeBSD.org> | 2010-06-09 10:13:59 +0000 |
|---|---|---|
| committer | Andriy Gapon <avg@FreeBSD.org> | 2010-06-09 10:13:59 +0000 |
| commit | d52023c1d3c50e17040d60f4952abd98f61b409c (patch) | |
| tree | 4242cd6f6a0c732189a9cf0daa1e95a86410c361 /sys | |
| parent | 2549d17a08646ec3276e5553efac98dc1be76df2 (diff) | |
Notes
Diffstat (limited to 'sys')
| -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 32010008d83f..ac00b2032c1f 100644 --- a/sys/fs/udf/udf_vnops.c +++ b/sys/fs/udf/udf_vnops.c @@ -904,9 +904,9 @@ udf_readlink(struct vop_readlink_args *ap) vp = ap->a_vp; node = VTON(vp); len = le64toh(node->fentry->inf_len); + iov[0].iov_len = len; buf = malloc(iov[0].iov_len, M_DEVBUF, M_WAITOK); iov[0].iov_base = buf; - iov[0].iov_len = len; uio.uio_iov = iov; uio.uio_iovcnt = 1; uio.uio_offset = 0; |
