summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2016-02-09 00:56:05 +0000
committermmcc <mmcc@cvs.openbsd.org>2016-02-09 00:56:05 +0000
commitb96dcaf53c1230d8d33806a2d18a395d2963a8c6 (patch)
tree7252c115b84755855d4db5b3efedd31e5f5ce4d5 /sys
parent9842597066a78978b7464eccb9441a47dd4ea65b (diff)
sync a function's comment with its signature
ok tedu@, with a slight tweak
Diffstat (limited to 'sys')
-rw-r--r--sys/nfs/nfs_node.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/nfs/nfs_node.c b/sys/nfs/nfs_node.c
index f3b59a9241e..ec6c50a0a2b 100644
--- a/sys/nfs/nfs_node.c
+++ b/sys/nfs/nfs_node.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_node.c,v 1.62 2015/03/14 03:38:52 jsg Exp $ */
+/* $OpenBSD: nfs_node.c,v 1.63 2016/02/09 00:56:04 mmcc Exp $ */
/* $NetBSD: nfs_node.c,v 1.16 1996/02/18 11:53:42 fvdl Exp $ */
/*
@@ -76,10 +76,9 @@ RB_PROTOTYPE(nfs_nodetree, nfsnode, n_entry, nfsnode_cmp);
RB_GENERATE(nfs_nodetree, nfsnode, n_entry, nfsnode_cmp);
/*
- * Look up a vnode/nfsnode by file handle.
+ * Look up a vnode/nfsnode by file handle and store the pointer in *npp.
* Callers must check for mount points!!
- * In all cases, a pointer to a
- * nfsnode structure is returned.
+ * An error number is returned.
*/
int
nfs_nget(struct mount *mnt, nfsfh_t *fh, int fhsize, struct nfsnode **npp)