summaryrefslogtreecommitdiff
path: root/sys/isofs/cd9660
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2009-01-13 19:44:21 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2009-01-13 19:44:21 +0000
commitf3743c6f5c1bcd7b83a1a8319773ca0ad9bbdb8e (patch)
tree6d6d34fab509688bbb28e140aa614bb75db834d1 /sys/isofs/cd9660
parentc6503137fa3f3a39fd04a241d13125294fec8c5d (diff)
Trivial lvalue abuse fixes, no binary changes.
ok millert@ tedu@
Diffstat (limited to 'sys/isofs/cd9660')
-rw-r--r--sys/isofs/cd9660/cd9660_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/isofs/cd9660/cd9660_vnops.c b/sys/isofs/cd9660/cd9660_vnops.c
index 4936f1e46ab..1406f566b51 100644
--- a/sys/isofs/cd9660/cd9660_vnops.c
+++ b/sys/isofs/cd9660/cd9660_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd9660_vnops.c,v 1.46 2008/06/09 23:38:37 millert Exp $ */
+/* $OpenBSD: cd9660_vnops.c,v 1.47 2009/01/13 19:44:20 grange Exp $ */
/* $NetBSD: cd9660_vnops.c,v 1.42 1997/10/16 23:56:57 christos Exp $ */
/*-
@@ -755,7 +755,7 @@ cd9660_readlink(v)
return (error);
}
uio->uio_resid -= symlen;
- (char *)uio->uio_iov->iov_base += symlen;
+ uio->uio_iov->iov_base = (char *)uio->uio_iov->iov_base + symlen;
uio->uio_iov->iov_len -= symlen;
return (0);
}