From owner-svn-src-all@freebsd.org Sun May 1 16:41:27 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87B66B2988C; Sun, 1 May 2016 16:41:27 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 639E51CA2; Sun, 1 May 2016 16:41:27 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u41GfQHU023782; Sun, 1 May 2016 16:41:26 GMT (envelope-from pfg@FreeBSD.org) Received: (from pfg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u41GfPgk023772; Sun, 1 May 2016 16:41:25 GMT (envelope-from pfg@FreeBSD.org) Message-Id: <201605011641.u41GfPgk023772@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pfg set sender to pfg@FreeBSD.org using -f From: "Pedro F. Giffuni" Date: Sun, 1 May 2016 16:41:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298886 - in head/usr.sbin: camdd cron/cron ctladm gssd jail lpr/common_source lpr/lpd nandsim rtadvd X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 May 2016 16:41:27 -0000 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= - user who sent the job (if known) * secs= - seconds it took to transfer the file - * bytes= - number of bytes transfered (ie, "bytecount") + * bytes= - number of bytes transferred (ie, "bytecount") * bps=e - Bytes/sec (if the transfer was "big enough" * for this to be useful) * ! top= - 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)