summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJared Yanovich <jaredy@cvs.openbsd.org>2005-08-10 01:33:07 +0000
committerJared Yanovich <jaredy@cvs.openbsd.org>2005-08-10 01:33:07 +0000
commit25df5ddf962c603e62d092d2ccccfbf6db689f92 (patch)
treee7fb57a5418629cbb5fe090a9694701a638e3ed3 /lib/libc
parent7be66a7795fe092101cfccee32152784a8b72959 (diff)
- sys/mount.h wants sys/param.h
- path can also cause EFAULT ok jmc
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/getfh.26
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/sys/getfh.2 b/lib/libc/sys/getfh.2
index 427996ec18d..731e98f8302 100644
--- a/lib/libc/sys/getfh.2
+++ b/lib/libc/sys/getfh.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getfh.2,v 1.9 2003/06/02 20:18:39 millert Exp $
+.\" $OpenBSD: getfh.2,v 1.10 2005/08/10 01:33:06 jaredy Exp $
.\" $NetBSD: getfh.2,v 1.7 1995/10/12 15:40:53 jtc Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -37,7 +37,7 @@
.Nm getfh
.Nd get file handle
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
+.Fd #include <sys/param.h>
.Fd #include <sys/mount.h>
.Ft int
.Fn getfh "const char *path" "fhandle_t *fhp"
@@ -84,6 +84,8 @@ Too many symbolic links were encountered in translating
The effective user ID is not the superuser.
.It Bq EFAULT
.Fa fhp
+or
+.Fa path
points to an invalid address.
.It Bq EIO
An