summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoug <doug@openbsd.org>2014-11-15 02:42:38 +0000
committerdoug <doug@openbsd.org>2014-11-15 02:42:38 +0000
commitc6251d1a7c42a69d12bcfc275b7cbfd3c4d4f66d (patch)
tree003b4107559f7b943c507005edb1bcc7ca23fef3
parentremove useless casts (and the comments saying lint complains about them) (diff)
downloadwireguard-openbsd-c6251d1a7c42a69d12bcfc275b7cbfd3c4d4f66d.tar.xz
wireguard-openbsd-c6251d1a7c42a69d12bcfc275b7cbfd3c4d4f66d.zip
Fix a mistake in a comment.
Revert NFS_DIRBLKSIZE back to data. This matches an identical comment in another part of this file.
-rw-r--r--sys/nfs/nfs_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_vnops.c b/sys/nfs/nfs_vnops.c
index cc3e9bead58..2ed13479146 100644
--- a/sys/nfs/nfs_vnops.c
+++ b/sys/nfs/nfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_vnops.c,v 1.154 2014/11/14 23:11:35 tedu Exp $ */
+/* $OpenBSD: nfs_vnops.c,v 1.155 2014/11/15 02:42:38 doug Exp $ */
/* $NetBSD: nfs_vnops.c,v 1.62.4.1 1996/07/08 20:26:52 jtc Exp $ */
/*
@@ -2216,7 +2216,7 @@ nfs_readdirrpc(struct vnode *vp, struct uio *uiop, struct ucred *cred,
more_dirs = fxdr_unsigned(int, *tl);
}
/*
- * If at end of rpc NFS_DIRBLKSIZ, get the eof boolean
+ * If at end of rpc data, get the eof boolean
*/
if (!more_dirs) {
nfsm_dissect(tl, u_int32_t *, NFSX_UNSIGNED);