From: Sascha Wildner Date: Tue, 6 Nov 2012 02:44:40 +0000 (+0100) Subject: Fix some typos in user visible messages, etc. X-Git-Tag: v3.4.0rc~891 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/8d67cbb3a296132853e645d8fd00197cc921dd6c Fix some typos in user visible messages, etc. --- diff --git a/sys/bus/firewire/fwohci.c b/sys/bus/firewire/fwohci.c index 794b8a24a6..269e25676f 100644 --- a/sys/bus/firewire/fwohci.c +++ b/sys/bus/firewire/fwohci.c @@ -2638,7 +2638,7 @@ fwohci_arcv_swap(struct fw_pkt *fp, int len) hlen = tinfo[fp0->mode.common.tcode].hdr_len; if (hlen > len) { if (firewire_debug) - kprintf("splitted header\n"); + kprintf("split header\n"); return(-hlen); } #if BYTE_ORDER == BIG_ENDIAN @@ -2744,7 +2744,7 @@ fwohci_arcv(struct fwohci_softc *sc, struct fwohci_dbch *dbch, int count) kprintf("rlen=%d, offset=%d\n", rlen, dbch->buf_offset); if (dbch->buf_offset < 0) { - /* splitted in header, pull up */ + /* split in header, pull up */ char *p; p = (char *)&pktbuf; @@ -2765,7 +2765,7 @@ fwohci_arcv(struct fwohci_softc *sc, struct fwohci_dbch *dbch, int count) vec[0].iov_base = (char *)&pktbuf; vec[0].iov_len = offset; } else { - /* splitted in payload */ + /* split in payload */ offset = rlen; vec[0].iov_base = buf; vec[0].iov_len = rlen; @@ -2806,7 +2806,7 @@ fwohci_arcv(struct fwohci_softc *sc, struct fwohci_dbch *dbch, int count) if (len < 0) { dbch->pdb_tr = db_tr; if (firewire_debug) - kprintf("splitted payload\n"); + kprintf("split payload\n"); /* sanity check */ if (resCount != 0) kprintf("resCount = %d !?\n", diff --git a/sys/config/LINT b/sys/config/LINT index 8a5f89f917..18afa38196 100644 --- a/sys/config/LINT +++ b/sys/config/LINT @@ -1766,7 +1766,7 @@ options AHD_REG_PRETTY_PRINT # options BKTR_SYSTEM_DEFAULT=BROOKTREE_PAL # or # options BKTR_SYSTEM_DEFAULT=BROOKTREE_NTSC -# Specifes the default video capture mode. +# Specifies the default video capture mode. # This is required for Dual Crystal (28&35Mhz) boards where PAL is used # to prevent hangs during initialisation. eg VideoLogic Captivator PCI. # diff --git a/sys/config/LINT64 b/sys/config/LINT64 index 4f8a3ee30a..aa1975b2d6 100644 --- a/sys/config/LINT64 +++ b/sys/config/LINT64 @@ -1550,7 +1550,7 @@ options AHD_REG_PRETTY_PRINT # options BKTR_SYSTEM_DEFAULT=BROOKTREE_PAL # or # options BKTR_SYSTEM_DEFAULT=BROOKTREE_NTSC -# Specifes the default video capture mode. +# Specifies the default video capture mode. # This is required for Dual Crystal (28&35Mhz) boards where PAL is used # to prevent hangs during initialisation. eg VideoLogic Captivator PCI. # diff --git a/sys/dev/netif/bce/if_bce.c b/sys/dev/netif/bce/if_bce.c index 12abdf4dd7..15d0c94dd1 100644 --- a/sys/dev/netif/bce/if_bce.c +++ b/sys/dev/netif/bce/if_bce.c @@ -7435,7 +7435,7 @@ bce_dump_driver_state(struct bce_softc *sc) val_hi = BCE_ADDR_HI(sc->tx_bd_chain); val_lo = BCE_ADDR_LO(sc->tx_bd_chain); if_printf(ifp, "0x%08X:%08X - (sc->tx_bd_chain) tx_bd chain " - "virtual adddress\n", val_hi, val_lo); + "virtual address\n", val_hi, val_lo); val_hi = BCE_ADDR_HI(sc->rx_bd_chain); val_lo = BCE_ADDR_LO(sc->rx_bd_chain); diff --git a/sys/emulation/ndis/kern_ndis.c b/sys/emulation/ndis/kern_ndis.c index 8a45b39c4f..ef5ae1e0de 100644 --- a/sys/emulation/ndis/kern_ndis.c +++ b/sys/emulation/ndis/kern_ndis.c @@ -327,7 +327,7 @@ ndis_create_sysctls(void *arg) * Some miniport drivers rely on the existence of the SlotNumber, * NetCfgInstanceId and DriverDesc keys. */ - ndis_add_sysctl(sc, "SlotNumber", "Slot Numer", "01", CTLFLAG_RD); + ndis_add_sysctl(sc, "SlotNumber", "Slot Number", "01", CTLFLAG_RD); ndis_add_sysctl(sc, "NetCfgInstanceId", "NetCfgInstanceId", "{12345678-1234-5678-CAFE0-123456789ABC}", CTLFLAG_RD); ndis_add_sysctl(sc, "DriverDesc", "Driver Description", diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c index 54fac4cd7a..69bd380e7a 100644 --- a/sys/kern/kern_proc.c +++ b/sys/kern/kern_proc.c @@ -69,7 +69,7 @@ int ps_showallprocs = 1; static int ps_showallthreads = 1; SYSCTL_INT(_security, OID_AUTO, ps_showallprocs, CTLFLAG_RW, &ps_showallprocs, 0, - "Unprivileged processes can see proccesses with different UID/GID"); + "Unprivileged processes can see processes with different UID/GID"); SYSCTL_INT(_security, OID_AUTO, ps_showallthreads, CTLFLAG_RW, &ps_showallthreads, 0, "Unprivileged processes can see kernel threads"); diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c index 0be7ad7256..020e624ed9 100644 --- a/sys/kern/sys_pipe.c +++ b/sys/kern/sys_pipe.c @@ -124,7 +124,7 @@ static int pipe_wblocked_count; SYSCTL_NODE(_kern, OID_AUTO, pipe, CTLFLAG_RW, 0, "Pipe operation"); SYSCTL_INT(_kern_pipe, OID_AUTO, nbig, - CTLFLAG_RD, &pipe_nbig, 0, "numer of big pipes allocated"); + CTLFLAG_RD, &pipe_nbig, 0, "number of big pipes allocated"); SYSCTL_INT(_kern_pipe, OID_AUTO, bigcount, CTLFLAG_RW, &pipe_bigcount, 0, "number of times pipe expanded"); SYSCTL_INT(_kern_pipe, OID_AUTO, rblocked, diff --git a/test/dsched_fq/fqstats.c b/test/dsched_fq/fqstats.c index 46768bf402..444eb72f62 100644 --- a/test/dsched_fq/fqstats.c +++ b/test/dsched_fq/fqstats.c @@ -21,7 +21,7 @@ int main(void) if (sysctlbyname("dsched.fq.stats", &fq_stats, &n, NULL, 0) != 0) err(1, "sysctlbyname"); - printf( "Proccesses\n" + printf( "Processes\n" "Rate limited:\t%d\n" "---------------------------------------------\n" "Transactions\n" diff --git a/usr.sbin/dntpd/client.c b/usr.sbin/dntpd/client.c index 5150cbfb91..ae5a9a8a9d 100644 --- a/usr.sbin/dntpd/client.c +++ b/usr.sbin/dntpd/client.c @@ -30,8 +30,6 @@ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $DragonFly: src/usr.sbin/dntpd/client.c,v 1.13 2007/06/26 02:40:20 dillon Exp $ */ #include "defs.h" @@ -294,7 +292,7 @@ client_check(struct server_info **checkp, double freq_diff; freq_diff = info->lin_cache_freq - check->lin_cache_freq; - logdebuginfo(info, 4, "Switching to alternate, Frequence " + logdebuginfo(info, 4, "Switching to alternate, Frequency " "difference is %6.3f ppm\n", freq_diff * 1.0E+6); *checkp = info;