summaryrefslogtreecommitdiffstats
path: root/share/man/man9/VOP_READDIR.9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9/VOP_READDIR.9')
-rw-r--r--share/man/man9/VOP_READDIR.92
1 files changed, 1 insertions, 1 deletions
diff --git a/share/man/man9/VOP_READDIR.9 b/share/man/man9/VOP_READDIR.9
index fe0a1a6b..a49f34d 100644
--- a/share/man/man9/VOP_READDIR.9
+++ b/share/man/man9/VOP_READDIR.9
@@ -123,7 +123,7 @@ vop_readdir(struct vnode *vp, struct uio *uio, struct ucred *cred,
* Parse the stuff just read into the uio.
*/
dpStart = (struct dirent *)
- (uio->uio_iov->iov_base - (uio->uio_offset - off));
+ ((char *)uio->uio_iov->iov_base - (uio->uio_offset - off));
dpEnd = (struct dirent *) uio->uio_iov->iov_base;
/*
OpenPOWER on IntegriCloud