svn commit: r300152 - head/lib/libutil

Pedro F. Giffuni pfg at FreeBSD.org
Wed May 18 15:25:46 UTC 2016


Author: pfg
Date: Wed May 18 15:25:45 2016
New Revision: 300152
URL: https://svnweb.freebsd.org/changeset/base/300152

Log:
  libutil: minor spelling fixes.

Modified:
  head/lib/libutil/login_auth.c
  head/lib/libutil/login_cap.c
  head/lib/libutil/pidfile.3
  head/lib/libutil/pidfile.c

Modified: head/lib/libutil/login_auth.c
==============================================================================
--- head/lib/libutil/login_auth.c	Wed May 18 15:25:19 2016	(r300151)
+++ head/lib/libutil/login_auth.c	Wed May 18 15:25:45 2016	(r300152)
@@ -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

Modified: head/lib/libutil/login_cap.c
==============================================================================
--- head/lib/libutil/login_cap.c	Wed May 18 15:25:19 2016	(r300151)
+++ head/lib/libutil/login_cap.c	Wed May 18 15:25:45 2016	(r300152)
@@ -742,7 +742,7 @@ login_getcapsize(login_cap_t *lc, const 
 
 /*
  * 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.
  */

Modified: head/lib/libutil/pidfile.3
==============================================================================
--- head/lib/libutil/pidfile.3	Wed May 18 15:25:19 2016	(r300151)
+++ head/lib/libutil/pidfile.3	Wed May 18 15:25:45 2016	(r300152)
@@ -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.
 	 */

Modified: head/lib/libutil/pidfile.c
==============================================================================
--- head/lib/libutil/pidfile.c	Wed May 18 15:25:19 2016	(r300151)
+++ head/lib/libutil/pidfile.c	Wed May 18 15:25:45 2016	(r300152)
@@ -119,7 +119,7 @@ pidfile_open(const char *path, mode_t mo
 
 	/*
 	 * 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.
 	 */


More information about the svn-src-all mailing list