Author: pfg
Date: Sun May  1 16:41:25 2016
New Revision: 298886
URL: https://svnweb.freebsd.org/changeset/base/298886

Log:
  usr.sbin: minor spelling fixes on comments.
  
  No functional change.

Modified:
  head/usr.sbin/camdd/camdd.c
  head/usr.sbin/cron/cron/cron.c
  head/usr.sbin/cron/cron/popen.c
  head/usr.sbin/ctladm/ctladm.c
  head/usr.sbin/gssd/gssd.c
  head/usr.sbin/jail/jailparse.y
  head/usr.sbin/lpr/common_source/common.c
  head/usr.sbin/lpr/lpd/recvjob.c
  head/usr.sbin/nandsim/nandsim_cfgparse.c
  head/usr.sbin/rtadvd/rtadvd.c

Modified: head/usr.sbin/camdd/camdd.c
==============================================================================
--- head/usr.sbin/camdd/camdd.c Sun May  1 16:40:56 2016        (r298885)
+++ head/usr.sbin/camdd/camdd.c Sun May  1 16:41:25 2016        (r298886)
@@ -446,7 +446,7 @@ static int need_status = 0;
 #endif
 
 
-/* Generically usefull offsets into the peripheral private area */
+/* Generically useful offsets into the peripheral private area */
 #define ppriv_ptr0 periph_priv.entries[0].ptr
 #define ppriv_ptr1 periph_priv.entries[1].ptr
 #define ppriv_field0 periph_priv.entries[0].field

Modified: head/usr.sbin/cron/cron/cron.c
==============================================================================
--- head/usr.sbin/cron/cron/cron.c      Sun May  1 16:40:56 2016        
(r298885)
+++ head/usr.sbin/cron/cron/cron.c      Sun May  1 16:41:25 2016        
(r298886)
@@ -228,7 +228,7 @@ cron_tick(cron_db *db, int secres)
        register user           *u;
        register entry          *e;
 
-       /* make 0-based values out of these so we can use them as indicies
+       /* make 0-based values out of these so we can use them as indices
         */
        second = (secres == 0) ? 0 : tm->tm_sec -FIRST_SECOND;
        minute = tm->tm_min -FIRST_MINUTE;
@@ -289,7 +289,7 @@ cron_tick(cron_db *db, int secres)
                        time_t difftime = TargetTime + tm->tm_gmtoff - diff;
                        gmtime_r(&difftime, &otztm);
 
-                       /* make 0-based values out of these so we can use them 
as indicies
+                       /* make 0-based values out of these so we can use them 
as indices
                         */
                        otzsecond = (secres == 0) ? 0 : otztm.tm_sec 
-FIRST_SECOND;
                        otzminute = otztm.tm_min -FIRST_MINUTE;

Modified: head/usr.sbin/cron/cron/popen.c
==============================================================================
--- head/usr.sbin/cron/cron/popen.c     Sun May  1 16:40:56 2016        
(r298885)
+++ head/usr.sbin/cron/cron/popen.c     Sun May  1 16:41:25 2016        
(r298886)
@@ -47,7 +47,7 @@ static const char rcsid[] =
 #define WANT_GLOBBING 0
 
 /*
- * Special version of popen which avoids call to shell.  This insures noone
+ * Special version of popen which avoids call to shell.  This insures no one
  * may create a pipe to a hidden program as a side effect of a list or dir
  * command.
  */

Modified: head/usr.sbin/ctladm/ctladm.c
==============================================================================
--- head/usr.sbin/ctladm/ctladm.c       Sun May  1 16:40:56 2016        
(r298885)
+++ head/usr.sbin/ctladm/ctladm.c       Sun May  1 16:41:25 2016        
(r298886)
@@ -2922,7 +2922,7 @@ cctl_islist_end_element(void *user_data,
                /* Nothing. */
        } else {
                /*
-                * Unknown element; ignore it for forward compatiblity.
+                * Unknown element; ignore it for forward compatibility.
                 */
        }
 

Modified: head/usr.sbin/gssd/gssd.c
==============================================================================
--- head/usr.sbin/gssd/gssd.c   Sun May  1 16:40:56 2016        (r298885)
+++ head/usr.sbin/gssd/gssd.c   Sun May  1 16:41:25 2016        (r298886)
@@ -64,7 +64,7 @@ __FBSDID("$FreeBSD$");
 
 struct gss_resource {
        LIST_ENTRY(gss_resource) gr_link;
-       uint64_t        gr_id;  /* indentifier exported to kernel */
+       uint64_t        gr_id;  /* identifier exported to kernel */
        void*           gr_res; /* GSS-API resource pointer */
 };
 LIST_HEAD(gss_resource_list, gss_resource) gss_resources;

Modified: head/usr.sbin/jail/jailparse.y
==============================================================================
--- head/usr.sbin/jail/jailparse.y      Sun May  1 16:40:56 2016        
(r298885)
+++ head/usr.sbin/jail/jailparse.y      Sun May  1 16:41:25 2016        
(r298886)
@@ -60,7 +60,7 @@ __FBSDID("$FreeBSD$");
 
 /*
  * A config file is a series of jails (containing parameters) and jail-less
- * parameters which realy belong to a global pseudo-jail.
+ * parameters which really belong to a global pseudo-jail.
  */
 conf   :
        ;

Modified: head/usr.sbin/lpr/common_source/common.c
==============================================================================
--- head/usr.sbin/lpr/common_source/common.c    Sun May  1 16:40:56 2016        
(r298885)
+++ head/usr.sbin/lpr/common_source/common.c    Sun May  1 16:41:25 2016        
(r298886)
@@ -640,7 +640,7 @@ trstat_write(struct printer *pp, tr_send
         *                   a host as it receives a datafile.
         *   user=<userid> - user who sent the job (if known)
         *   secs=<n>      - seconds it took to transfer the file
-        *   bytes=<n>     - number of bytes transfered (ie, "bytecount")
+        *   bytes=<n>     - number of bytes transferred (ie, "bytecount")
         *   bps=<n.n>e<n> - Bytes/sec (if the transfer was "big enough"
         *                   for this to be useful)
         * ! top=<str>     - type of printer (if the type is defined in

Modified: head/usr.sbin/lpr/lpd/recvjob.c
==============================================================================
--- head/usr.sbin/lpr/lpd/recvjob.c     Sun May  1 16:40:56 2016        
(r298885)
+++ head/usr.sbin/lpr/lpd/recvjob.c     Sun May  1 16:41:25 2016        
(r298886)
@@ -140,7 +140,7 @@ recvjob(const char *printer)
 
 /*
  * Read printer jobs sent by lpd and copy them to the spooling directory.
- * Return the number of jobs successfully transfered.
+ * Return the number of jobs successfully transferred.
  */
 static int
 readjob(struct printer *pp)
@@ -356,7 +356,7 @@ read_number(const char *fn)
 }
 
 /*
- * Remove all the files associated with the current job being transfered.
+ * Remove all the files associated with the current job being transferred.
  */
 static void
 rcleanup(int signo __unused)

Modified: head/usr.sbin/nandsim/nandsim_cfgparse.c
==============================================================================
--- head/usr.sbin/nandsim/nandsim_cfgparse.c    Sun May  1 16:40:56 2016        
(r298885)
+++ head/usr.sbin/nandsim/nandsim_cfgparse.c    Sun May  1 16:41:25 2016        
(r298886)
@@ -528,7 +528,7 @@ parse_config(char *cfgfname, const char 
                                error("Controller#%d already created\n",
                                    ctrls[i].num);
                        else if (err == EINVAL)
-                               error("Incorrect controler number (%d)\n",
+                               error("Incorrect controller number (%d)\n",
                                    ctrls[i].num);
                        else
                                error("Could not created controller#%d\n",

Modified: head/usr.sbin/rtadvd/rtadvd.c
==============================================================================
--- head/usr.sbin/rtadvd/rtadvd.c       Sun May  1 16:40:56 2016        
(r298885)
+++ head/usr.sbin/rtadvd/rtadvd.c       Sun May  1 16:41:25 2016        
(r298886)
@@ -1223,7 +1223,7 @@ udiff(uint32_t u, uint32_t v)
        return (u >= v ? u - v : v - u);
 }
 
-/* return a non-zero value if the received prefix is inconsitent with ours */
+/* return a non-zero value if the received prefix is inconsistent with ours */
 static int
 prefix_check(struct nd_opt_prefix_info *pinfo,
        struct rainfo *rai, struct sockaddr_in6 *from)
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to