Fix some typos in user visible messages, etc.
authorSascha Wildner <saw@online.de>
Tue, 6 Nov 2012 02:44:40 +0000 (03:44 +0100)
committerSascha Wildner <saw@online.de>
Tue, 6 Nov 2012 02:44:40 +0000 (03:44 +0100)
sys/bus/firewire/fwohci.c
sys/config/LINT
sys/config/LINT64
sys/dev/netif/bce/if_bce.c
sys/emulation/ndis/kern_ndis.c
sys/kern/kern_proc.c
sys/kern/sys_pipe.c
test/dsched_fq/fqstats.c
usr.sbin/dntpd/client.c

index 794b8a2..269e256 100644 (file)
@@ -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",
index 8a5f89f..18afa38 100644 (file)
@@ -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.
 #
index 4f8a3ee..aa1975b 100644 (file)
@@ -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.
 #
index 12abdf4..15d0c94 100644 (file)
@@ -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);
index 8a45b39..ef5ae1e 100644 (file)
@@ -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",
index 54fac4c..69bd380 100644 (file)
@@ -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");
index 0be7ad7..020e624 100644 (file)
@@ -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,
index 46768bf..444eb72 100644 (file)
@@ -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"
index 5150cbf..ae5a9a8 100644 (file)
@@ -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;