summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/compat-43/__setregid.c4
-rw-r--r--lib/libc/compat-43/__setreuid.c4
-rw-r--r--lib/libc_r/man/pthread_cond_timedwait.34
-rw-r--r--lib/libc_r/uthread/uthread_cond.c6
-rw-r--r--lib/libpthread/man/pthread_cond_timedwait.34
-rw-r--r--lib/libpthread/uthread/uthread_cond.c6
6 files changed, 14 insertions, 14 deletions
diff --git a/lib/libc/compat-43/__setregid.c b/lib/libc/compat-43/__setregid.c
index e1133b2178a..39f4ece8ce1 100644
--- a/lib/libc/compat-43/__setregid.c
+++ b/lib/libc/compat-43/__setregid.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: __setregid.c,v 1.4 1998/11/15 19:52:11 deraadt Exp $";
+static char *rcsid = "$OpenBSD: __setregid.c,v 1.5 2002/06/04 00:09:08 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -54,7 +54,7 @@ __setregid(rgid, egid)
/*
* we assume that the intent of setting rgid is to be able to get
- * back rgid priviledge. So we make sure that we will be able to
+ * back rgid privilege. So we make sure that we will be able to
* do so, but do not actually set the rgid.
*/
if (rgid != (gid_t) -1 && rgid != getgid() && rgid != svgid &&
diff --git a/lib/libc/compat-43/__setreuid.c b/lib/libc/compat-43/__setreuid.c
index 0fdc97aa814..583ee1d72cc 100644
--- a/lib/libc/compat-43/__setreuid.c
+++ b/lib/libc/compat-43/__setreuid.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: __setreuid.c,v 1.4 1998/11/15 19:52:11 deraadt Exp $";
+static char *rcsid = "$OpenBSD: __setreuid.c,v 1.5 2002/06/04 00:09:08 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -52,7 +52,7 @@ __setreuid(ruid, euid)
sruid = getuid();
/*
* we assume that the intent of setting ruid is to be able to get
- * back ruid priviledge. So we make sure that we will be able to
+ * back ruid privilege. So we make sure that we will be able to
* do so, but do not actually set the ruid.
*/
if (ruid != (uid_t) -1 && ruid != sruid && ruid != svuid &&
diff --git a/lib/libc_r/man/pthread_cond_timedwait.3 b/lib/libc_r/man/pthread_cond_timedwait.3
index dc0db2b463b..83f380643b3 100644
--- a/lib/libc_r/man/pthread_cond_timedwait.3
+++ b/lib/libc_r/man/pthread_cond_timedwait.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthread_cond_timedwait.3,v 1.8 2002/05/01 08:03:30 mpech Exp $
+.\" $OpenBSD: pthread_cond_timedwait.3,v 1.9 2002/06/04 00:09:07 deraadt Exp $
.\"
.\" Copyright (c) 1997 Brian Cully <shmit@kublai.com>
.\" All rights reserved.
@@ -54,7 +54,7 @@ or
with the same condition variable, or if the system time reaches the
time specified in
.Fa abstime ,
-and the current thread reaquires the lock on
+and the current thread reacquires the lock on
.Fa mutex .
.Sh RETURN VALUES
If successful, the
diff --git a/lib/libc_r/uthread/uthread_cond.c b/lib/libc_r/uthread/uthread_cond.c
index d1c5576d42c..dc46e26127d 100644
--- a/lib/libc_r/uthread/uthread_cond.c
+++ b/lib/libc_r/uthread/uthread_cond.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_cond.c,v 1.12 2001/12/20 07:33:14 fgsch Exp $ */
+/* $OpenBSD: uthread_cond.c,v 1.13 2002/06/04 00:09:07 deraadt Exp $ */
/*
* Copyright (c) 1995 John Birrell <jb@cimlogic.com.au>.
* All rights reserved.
@@ -273,7 +273,7 @@ pthread_cond_wait(pthread_cond_t * cond, pthread_mutex_t * mutex)
* errors. Note that even
* though this thread may have
* been canceled, POSIX requires
- * that the mutex be reaquired
+ * that the mutex be reacquired
* prior to cancellation.
*/
(void)_mutex_cv_lock(mutex);
@@ -439,7 +439,7 @@ pthread_cond_timedwait(pthread_cond_t * cond, pthread_mutex_t * mutex,
* errors. Note that even
* though this thread may have
* been canceled, POSIX requires
- * that the mutex be reaquired
+ * that the mutex be reacquired
* prior to cancellation.
*/
(void)_mutex_cv_lock(mutex);
diff --git a/lib/libpthread/man/pthread_cond_timedwait.3 b/lib/libpthread/man/pthread_cond_timedwait.3
index dc0db2b463b..83f380643b3 100644
--- a/lib/libpthread/man/pthread_cond_timedwait.3
+++ b/lib/libpthread/man/pthread_cond_timedwait.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthread_cond_timedwait.3,v 1.8 2002/05/01 08:03:30 mpech Exp $
+.\" $OpenBSD: pthread_cond_timedwait.3,v 1.9 2002/06/04 00:09:07 deraadt Exp $
.\"
.\" Copyright (c) 1997 Brian Cully <shmit@kublai.com>
.\" All rights reserved.
@@ -54,7 +54,7 @@ or
with the same condition variable, or if the system time reaches the
time specified in
.Fa abstime ,
-and the current thread reaquires the lock on
+and the current thread reacquires the lock on
.Fa mutex .
.Sh RETURN VALUES
If successful, the
diff --git a/lib/libpthread/uthread/uthread_cond.c b/lib/libpthread/uthread/uthread_cond.c
index d1c5576d42c..dc46e26127d 100644
--- a/lib/libpthread/uthread/uthread_cond.c
+++ b/lib/libpthread/uthread/uthread_cond.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_cond.c,v 1.12 2001/12/20 07:33:14 fgsch Exp $ */
+/* $OpenBSD: uthread_cond.c,v 1.13 2002/06/04 00:09:07 deraadt Exp $ */
/*
* Copyright (c) 1995 John Birrell <jb@cimlogic.com.au>.
* All rights reserved.
@@ -273,7 +273,7 @@ pthread_cond_wait(pthread_cond_t * cond, pthread_mutex_t * mutex)
* errors. Note that even
* though this thread may have
* been canceled, POSIX requires
- * that the mutex be reaquired
+ * that the mutex be reacquired
* prior to cancellation.
*/
(void)_mutex_cv_lock(mutex);
@@ -439,7 +439,7 @@ pthread_cond_timedwait(pthread_cond_t * cond, pthread_mutex_t * mutex,
* errors. Note that even
* though this thread may have
* been canceled, POSIX requires
- * that the mutex be reaquired
+ * that the mutex be reacquired
* prior to cancellation.
*/
(void)_mutex_cv_lock(mutex);