summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-05-18 15:25:45 +0000
committerpfg <pfg@FreeBSD.org>2016-05-18 15:25:45 +0000
commit1ecf8eb7222e16d3f26f6334ff1d2063d8340ae3 (patch)
treedc2f33e8169b7143ecbefd635a08c7430d715b69
parent6a7d3963bcb72e9cbd610ce994a545a6fb32880f (diff)
downloadFreeBSD-src-1ecf8eb7222e16d3f26f6334ff1d2063d8340ae3.zip
FreeBSD-src-1ecf8eb7222e16d3f26f6334ff1d2063d8340ae3.tar.gz
libutil: minor spelling fixes.
-rw-r--r--lib/libutil/login_auth.c2
-rw-r--r--lib/libutil/login_cap.c2
-rw-r--r--lib/libutil/pidfile.32
-rw-r--r--lib/libutil/pidfile.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/libutil/login_auth.c b/lib/libutil/login_auth.c
index 1fc7e73..647db1e 100644
--- a/lib/libutil/login_auth.c
+++ b/lib/libutil/login_auth.c
@@ -55,7 +55,7 @@ __FBSDID("$FreeBSD$");
/*
* auth_checknologin()
- * Checks for the existance of a nologin file in the login_cap
+ * Checks for the existence of a nologin file in the login_cap
* capability <lc>. If there isn't one specified, then it checks
* to see if this class should just ignore nologin files. Lastly,
* it tries to print out the default nologin file, and, if such
diff --git a/lib/libutil/login_cap.c b/lib/libutil/login_cap.c
index 8915d0a..9c8d4a6 100644
--- a/lib/libutil/login_cap.c
+++ b/lib/libutil/login_cap.c
@@ -742,7 +742,7 @@ login_getcapsize(login_cap_t *lc, const char *cap, rlim_t def, rlim_t error)
/*
* login_getcapbool()
- * From the login_cap_t <lc>, check for the existance of the capability
+ * From the login_cap_t <lc>, check for the existence of the capability
* of <cap>. Return <def> if <lc>->lc_cap is NULL, otherwise return
* the whether or not <cap> exists there.
*/
diff --git a/lib/libutil/pidfile.3 b/lib/libutil/pidfile.3
index d5e2470..845b11a 100644
--- a/lib/libutil/pidfile.3
+++ b/lib/libutil/pidfile.3
@@ -151,7 +151,7 @@ if (pfh == NULL) {
/* If we cannot create pidfile from other reasons, only warn. */
warn("Cannot open or create pidfile");
/*
- * Eventhough pfh is NULL we can continue, as the other pidfile_*
+ * Even though pfh is NULL we can continue, as the other pidfile_*
* function can handle such situation by doing nothing except setting
* errno to EDOOFUS.
*/
diff --git a/lib/libutil/pidfile.c b/lib/libutil/pidfile.c
index 3a5e512..157a53c 100644
--- a/lib/libutil/pidfile.c
+++ b/lib/libutil/pidfile.c
@@ -119,7 +119,7 @@ pidfile_open(const char *path, mode_t mode, pid_t *pidptr)
/*
* Open the PID file and obtain exclusive lock.
- * We truncate PID file here only to remove old PID immediatelly,
+ * We truncate PID file here only to remove old PID immediately,
* PID file will be truncated again in pidfile_write(), so
* pidfile_write() can be called multiple times.
*/
OpenPOWER on IntegriCloud