summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorjoel <joel@FreeBSD.org>2010-08-16 15:18:30 +0000
committerjoel <joel@FreeBSD.org>2010-08-16 15:18:30 +0000
commitdd1fff9bcb93c49e02a04bb712ecc2695db0c218 (patch)
treef1fb1550ad8fd503eb2a17d71116cdfebf902492 /lib/libc/sys
parentc239a236c133a4ec85da52df6f459b176073ffb5 (diff)
downloadFreeBSD-src-dd1fff9bcb93c49e02a04bb712ecc2695db0c218.zip
FreeBSD-src-dd1fff9bcb93c49e02a04bb712ecc2695db0c218.tar.gz
Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while
translating these manual pages. Minor corrections by me. Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/getfh.22
-rw-r--r--lib/libc/sys/kldstat.22
-rw-r--r--lib/libc/sys/ntp_adjtime.22
-rw-r--r--lib/libc/sys/open.24
-rw-r--r--lib/libc/sys/shm_open.22
5 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/sys/getfh.2 b/lib/libc/sys/getfh.2
index 1488196..c8f6d9d 100644
--- a/lib/libc/sys/getfh.2
+++ b/lib/libc/sys/getfh.2
@@ -69,7 +69,7 @@ These system calls are restricted to the superuser.
The
.Fn getfh
and
-.Fn lgetfgh
+.Fn lgetfh
system calls
fail if one or more of the following are true:
.Bl -tag -width Er
diff --git a/lib/libc/sys/kldstat.2 b/lib/libc/sys/kldstat.2
index eb09a23..88f3781 100644
--- a/lib/libc/sys/kldstat.2
+++ b/lib/libc/sys/kldstat.2
@@ -129,6 +129,6 @@ The
interface first appeared in
.Fx 3.0 .
.Sh BUGS
-The pathname many not be accurate if the file system mounts have
+The pathname may not be accurate if the file system mounts have
changed since the module was loaded, or if this function is called
within a chrooted environment.
diff --git a/lib/libc/sys/ntp_adjtime.2 b/lib/libc/sys/ntp_adjtime.2
index 65ff8a3..8ce78e7 100644
--- a/lib/libc/sys/ntp_adjtime.2
+++ b/lib/libc/sys/ntp_adjtime.2
@@ -284,7 +284,7 @@ At the end of the day, second 23:59:59 will be skipped.
.It TIME_OOP
Leap second in progress.
.It TIME_WAIT
-Leap second has occurred within the last few seconds..
+Leap second has occurred within the last few seconds.
.It TIME_ERROR
Clock not synchronized.
.El
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2
index 04fa0fe..deca8bc 100644
--- a/lib/libc/sys/open.2
+++ b/lib/libc/sys/open.2
@@ -296,9 +296,9 @@ created has its immutable flag set, see the
.Xr chflags 2
manual page for more information.
.It Bq Er EPERM
-.Dv The named file has its immutable flag set and the file is to be modified.
+The named file has its immutable flag set and the file is to be modified.
.It Bq Er EPERM
-.Dv The named file has its append-only flag set, the file is to be modified, and
+The named file has its append-only flag set, the file is to be modified, and
.Dv O_TRUNC
is specified or
.Dv O_APPEND
diff --git a/lib/libc/sys/shm_open.2 b/lib/libc/sys/shm_open.2
index a586fe3..a2fa502 100644
--- a/lib/libc/sys/shm_open.2
+++ b/lib/libc/sys/shm_open.2
@@ -231,7 +231,7 @@ is specified and the named shared memory object does not exist.
.Dv O_CREAT
and
.Dv O_EXCL
-are specified and the named shared memory object dies exist.
+are specified and the named shared memory object does exist.
.It Bq Er EACCES
The required permissions (for reading or reading and writing) are denied.
.El
OpenPOWER on IntegriCloud