summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>1999-03-05 15:16:31 +0000
committeralex <alex@FreeBSD.org>1999-03-05 15:16:31 +0000
commit514eb12afc81430a51db9ce2111adf17c19f8d35 (patch)
tree261c38aa83c46a01cb788ba4f6318bcdf333535e /lib
parent402c0ea9be98e9e333df8ff7915a3b676523b932 (diff)
downloadFreeBSD-src-514eb12afc81430a51db9ce2111adf17c19f8d35.zip
FreeBSD-src-514eb12afc81430a51db9ce2111adf17c19f8d35.tar.gz
Fixed references to unmount(2) specified as umount.
Submitted by: Markus Friedl <markus.friedl@informatik.uni-erlangen.de> via OpenBSD
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/mount.28
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/mount.2 b/lib/libc/sys/mount.2
index 7232e82..e3a5dd4 100644
--- a/lib/libc/sys/mount.2
+++ b/lib/libc/sys/mount.2
@@ -140,7 +140,7 @@ filesystem is described by the
manual page.
.Pp
The
-.Fn umount
+.Fn unmount
function call disassociates the filesystem from the specified
mount point
.Fa dir .
@@ -174,7 +174,7 @@ and the variable
is set to indicate the error.
.Pp
The
-.Fn umount
+.Fn unmount
function returns the value 0 if the umount succeeded; otherwise -1 is returned
and the variable
.Va errno
@@ -278,7 +278,7 @@ points outside the process's allocated address space.
.El
.Pp
The
-.Fn umount
+.Fn unmount
function may fail with one of the following errors:
.Bl -tag -width [ENOTBLK]
.It Bq Er EPERM
@@ -320,6 +320,6 @@ Some of the error codes need translation to more obvious messages.
.Sh HISTORY
.Fn Mount
and
-.Fn umount
+.Fn unmount
function calls appeared in
.At v6 .
OpenPOWER on IntegriCloud