Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/moused Fix typo in comment.



details:   https://anonhg.NetBSD.org/src/rev/1ffc18676126
branches:  trunk
changeset: 376603:1ffc18676126
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Sat Jun 24 05:12:03 2023 +0000

description:
Fix typo in comment.

diffstat:

 sys/external/bsd/ipf/netinet/fil.c           |  6 +++---
 sys/external/bsd/ipf/netinet/ip_fil_netbsd.c |  8 ++++----
 sys/net80211/ieee80211_crypto_ccmp.c         |  6 +++---
 sys/net80211/ieee80211_crypto_tkip.c         |  6 +++---
 sys/net80211/ieee80211_crypto_wep.c          |  6 +++---
 sys/net80211/ieee80211_node.c                |  6 +++---
 sys/net80211/ieee80211_var.h                 |  4 ++--
 usr.sbin/lpr/lpr/lpr.c                       |  6 +++---
 usr.sbin/makemandb/run_query.3               |  4 ++--
 usr.sbin/mld6query/mld6.c                    |  4 ++--
 usr.sbin/moused/moused.c                     |  6 +++---
 11 files changed, 31 insertions(+), 31 deletions(-)

diffs (272 lines):

diff -r e8ba82bca8e5 -r 1ffc18676126 sys/external/bsd/ipf/netinet/fil.c
--- a/sys/external/bsd/ipf/netinet/fil.c        Fri Jun 23 22:49:38 2023 +0000
+++ b/sys/external/bsd/ipf/netinet/fil.c        Sat Jun 24 05:12:03 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fil.c,v 1.36 2023/02/03 19:01:08 christos Exp $        */
+/*     $NetBSD: fil.c,v 1.37 2023/06/24 05:16:15 msaitoh Exp $ */
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -141,7 +141,7 @@ extern struct timeout ipf_slowtimer_ch;
 #if !defined(lint)
 #if defined(__NetBSD__)
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fil.c,v 1.36 2023/02/03 19:01:08 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fil.c,v 1.37 2023/06/24 05:16:15 msaitoh Exp $");
 #else
 static const char sccsid[] = "@(#)fil.c        1.36 6/5/96 (C) 1993-2000 Darren Reed";
 static const char rcsid[] = "@(#)Id: fil.c,v 1.1.1.2 2012/07/22 13:45:07 darrenr Exp $";
@@ -5943,7 +5943,7 @@ ipf_movequeue(u_long ticks, ipftqent_t *
 
 /* ------------------------------------------------------------------------ */
 /* Function:    ipf_updateipid                                              */
-/* Returns:     int - 0 == success, -1 == error (packet should be droppped) */
+/* Returns:     int - 0 == success, -1 == error (packet should be dropped)  */
 /* Parameters:  fin(I) - pointer to packet information                      */
 /*                                                                          */
 /* When we are doing NAT, change the IP of every packet to represent a      */
diff -r e8ba82bca8e5 -r 1ffc18676126 sys/external/bsd/ipf/netinet/ip_fil_netbsd.c
--- a/sys/external/bsd/ipf/netinet/ip_fil_netbsd.c      Fri Jun 23 22:49:38 2023 +0000
+++ b/sys/external/bsd/ipf/netinet/ip_fil_netbsd.c      Sat Jun 24 05:12:03 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_fil_netbsd.c,v 1.37 2022/03/28 12:33:21 riastradh Exp $     */
+/*     $NetBSD: ip_fil_netbsd.c,v 1.38 2023/06/24 05:16:15 msaitoh Exp $       */
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -8,7 +8,7 @@
 #if !defined(lint)
 #if defined(__NetBSD__)
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_fil_netbsd.c,v 1.37 2022/03/28 12:33:21 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_fil_netbsd.c,v 1.38 2023/06/24 05:16:15 msaitoh Exp $");
 #else
 static const char sccsid[] = "@(#)ip_fil.c     2.41 6/5/96 (C) 1993-2000 Darren Reed";
 static const char rcsid[] = "@(#)Id: ip_fil_netbsd.c,v 1.1.1.2 2012/07/22 13:45:17 darrenr Exp";
@@ -1680,8 +1680,8 @@ ipf_newisn(fr_info_t *fin)
 
 
 /* ------------------------------------------------------------------------ */
-/* Function:    ipf_nextipid                                                 */
-/* Returns:     int - 0 == success, -1 == error (packet should be droppped) */
+/* Function:    ipf_nextipid                                                */
+/* Returns:     int - 0 == success, -1 == error (packet should be dropped)  */
 /* Parameters:  fin(I) - pointer to packet information                      */
 /*                                                                          */
 /* Returns the next IPv4 ID to use for this packet.                         */
diff -r e8ba82bca8e5 -r 1ffc18676126 sys/net80211/ieee80211_crypto_ccmp.c
--- a/sys/net80211/ieee80211_crypto_ccmp.c      Fri Jun 23 22:49:38 2023 +0000
+++ b/sys/net80211/ieee80211_crypto_ccmp.c      Sat Jun 24 05:12:03 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ieee80211_crypto_ccmp.c,v 1.19 2020/11/03 15:06:50 mlelstv Exp $       */
+/*     $NetBSD: ieee80211_crypto_ccmp.c,v 1.20 2023/06/24 05:12:03 msaitoh Exp $       */
 
 /*
  * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@@ -36,7 +36,7 @@
 __FBSDID("$FreeBSD: src/sys/net80211/ieee80211_crypto_ccmp.c,v 1.7 2005/07/11 03:06:23 sam Exp $");
 #endif
 #ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ieee80211_crypto_ccmp.c,v 1.19 2020/11/03 15:06:50 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee80211_crypto_ccmp.c,v 1.20 2023/06/24 05:12:03 msaitoh Exp $");
 #endif
 
 /*
@@ -164,7 +164,7 @@ ccmp_encap(struct ieee80211_key *k, stru
        ivp[7] = k->wk_keytsc >> 40;            /* PN5 */
 
        /*
-        * Finally, do software encrypt if neeed.
+        * Finally, do software encrypt if need.
         */
        if ((k->wk_flags & IEEE80211_KEY_SWCRYPT) &&
            !ccmp_encrypt(k, m, hdrlen))
diff -r e8ba82bca8e5 -r 1ffc18676126 sys/net80211/ieee80211_crypto_tkip.c
--- a/sys/net80211/ieee80211_crypto_tkip.c      Fri Jun 23 22:49:38 2023 +0000
+++ b/sys/net80211/ieee80211_crypto_tkip.c      Sat Jun 24 05:12:03 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ieee80211_crypto_tkip.c,v 1.17 2020/11/03 15:06:50 mlelstv Exp $       */
+/*     $NetBSD: ieee80211_crypto_tkip.c,v 1.18 2023/06/24 05:12:03 msaitoh Exp $       */
 
 /*
  * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@@ -36,7 +36,7 @@
 __FBSDID("$FreeBSD: src/sys/net80211/ieee80211_crypto_tkip.c,v 1.10 2005/08/08 18:46:35 sam Exp $");
 #endif
 #ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ieee80211_crypto_tkip.c,v 1.17 2020/11/03 15:06:50 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee80211_crypto_tkip.c,v 1.18 2023/06/24 05:12:03 msaitoh Exp $");
 #endif
 
 /*
@@ -191,7 +191,7 @@ tkip_encap(struct ieee80211_key *k, stru
        ivp[7] = k->wk_keytsc >> 40;            /* TSC5 */
 
        /*
-        * Finally, do software encrypt if neeed.
+        * Finally, do software encrypt if need.
         */
        if (k->wk_flags & IEEE80211_KEY_SWCRYPT) {
                if (!tkip_encrypt(ctx, k, m, hdrlen))
diff -r e8ba82bca8e5 -r 1ffc18676126 sys/net80211/ieee80211_crypto_wep.c
--- a/sys/net80211/ieee80211_crypto_wep.c       Fri Jun 23 22:49:38 2023 +0000
+++ b/sys/net80211/ieee80211_crypto_wep.c       Sat Jun 24 05:12:03 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ieee80211_crypto_wep.c,v 1.13 2020/11/03 15:06:50 mlelstv Exp $        */
+/*     $NetBSD: ieee80211_crypto_wep.c,v 1.14 2023/06/24 05:12:03 msaitoh Exp $        */
 
 /*
  * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@@ -36,7 +36,7 @@
 __FBSDID("$FreeBSD: src/sys/net80211/ieee80211_crypto_wep.c,v 1.7 2005/06/10 16:11:24 sam Exp $");
 #endif
 #ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ieee80211_crypto_wep.c,v 1.13 2020/11/03 15:06:50 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee80211_crypto_wep.c,v 1.14 2023/06/24 05:12:03 msaitoh Exp $");
 #endif
 
 /*
@@ -178,7 +178,7 @@ wep_encap(struct ieee80211_key *k, struc
        ivp[3] = keyid;
 
        /*
-        * Finally, do software encrypt if neeed.
+        * Finally, do software encrypt if need.
         */
        if ((k->wk_flags & IEEE80211_KEY_SWCRYPT) &&
            !wep_encrypt(k, m, hdrlen))
diff -r e8ba82bca8e5 -r 1ffc18676126 sys/net80211/ieee80211_node.c
--- a/sys/net80211/ieee80211_node.c     Fri Jun 23 22:49:38 2023 +0000
+++ b/sys/net80211/ieee80211_node.c     Sat Jun 24 05:12:03 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ieee80211_node.c,v 1.82 2021/09/19 10:34:09 andvar Exp $       */
+/*     $NetBSD: ieee80211_node.c,v 1.83 2023/06/24 05:12:03 msaitoh Exp $      */
 
 /*
  * Copyright (c) 2001 Atsushi Onoe
@@ -37,7 +37,7 @@
 __FBSDID("$FreeBSD: src/sys/net80211/ieee80211_node.c,v 1.65 2005/08/13 17:50:21 sam Exp $");
 #endif
 #ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ieee80211_node.c,v 1.82 2021/09/19 10:34:09 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee80211_node.c,v 1.83 2023/06/24 05:12:03 msaitoh Exp $");
 #endif
 
 #ifdef _KERNEL_OPT
@@ -364,7 +364,7 @@ ieee80211_next_scan(struct ieee80211com 
 }
 
 /*
- * Probe the curent channel, if allowed, while scanning.
+ * Probe the current channel, if allowed, while scanning.
  * If the channel is not marked passive-only then send
  * a probe request immediately.  Otherwise mark state and
  * listen for beacons on the channel; if we receive something
diff -r e8ba82bca8e5 -r 1ffc18676126 sys/net80211/ieee80211_var.h
--- a/sys/net80211/ieee80211_var.h      Fri Jun 23 22:49:38 2023 +0000
+++ b/sys/net80211/ieee80211_var.h      Sat Jun 24 05:12:03 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ieee80211_var.h,v 1.34 2020/03/15 23:04:51 thorpej Exp $       */
+/*     $NetBSD: ieee80211_var.h,v 1.35 2023/06/24 05:12:03 msaitoh Exp $       */
 /*-
  * Copyright (c) 2001 Atsushi Onoe
  * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@@ -363,7 +363,7 @@ ieee80211_anyhdrspace(struct ieee80211co
 
 /* Flags set in ic_debug, used to print debug messages */
 #define        IEEE80211_MSG_DEBUG     0x40000000      /* IFF_DEBUG equivalent */
-#define        IEEE80211_MSG_DUMPPKTS  0x20000000      /* IFF_LINK2 equivalant */
+#define        IEEE80211_MSG_DUMPPKTS  0x20000000      /* IFF_LINK2 equivalent */
 #define        IEEE80211_MSG_CRYPTO    0x10000000      /* crypto work */
 #define        IEEE80211_MSG_INPUT     0x08000000      /* input handling */
 #define        IEEE80211_MSG_XRATE     0x04000000      /* rate set handling */
diff -r e8ba82bca8e5 -r 1ffc18676126 usr.sbin/lpr/lpr/lpr.c
--- a/usr.sbin/lpr/lpr/lpr.c    Fri Jun 23 22:49:38 2023 +0000
+++ b/usr.sbin/lpr/lpr/lpr.c    Sat Jun 24 05:12:03 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lpr.c,v 1.46 2012/06/02 03:32:53 jnemeth Exp $ */
+/*     $NetBSD: lpr.c,v 1.47 2023/06/24 05:15:42 msaitoh Exp $ */
 
 /*
  * Copyright (c) 1983, 1989, 1993
@@ -42,7 +42,7 @@
 #if 0
 static char sccsid[] = "@(#)lpr.c      8.4 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: lpr.c,v 1.46 2012/06/02 03:32:53 jnemeth Exp $");
+__RCSID("$NetBSD: lpr.c,v 1.47 2023/06/24 05:15:42 msaitoh Exp $");
 #endif
 #endif /* not lint */
 
@@ -176,7 +176,7 @@ main(int argc, char *argv[])
                        jobname = optarg;
                        break;
 
-               case 'P':               /* specifiy printer name */
+               case 'P':               /* specify printer name */
                        printer = optarg;
                        break;
 
diff -r e8ba82bca8e5 -r 1ffc18676126 usr.sbin/makemandb/run_query.3
--- a/usr.sbin/makemandb/run_query.3    Fri Jun 23 22:49:38 2023 +0000
+++ b/usr.sbin/makemandb/run_query.3    Sat Jun 24 05:12:03 2023 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: run_query.3,v 1.5 2022/09/11 20:32:37 gutteridge Exp $
+.\" $NetBSD: run_query.3,v 1.6 2023/06/24 05:15:42 msaitoh Exp $
 .\"
 .\" Copyright (c) 2011 Abhinav Upadhyay <er.abhinav.upadhyay%gmail.com@localhost>
 .\" All rights reserved.
@@ -95,7 +95,7 @@ Alternatively pass
 as to search in all the sections.
 .It Li int nrec
 This specifies the number of matching rows to fetch from the database.
-Specifiy a negative value to fetch all the matching rows.
+Specify a negative value to fetch all the matching rows.
 .It Li int offset
 This specifies the offset within the result-set.
 Use it to specify the position
diff -r e8ba82bca8e5 -r 1ffc18676126 usr.sbin/mld6query/mld6.c
--- a/usr.sbin/mld6query/mld6.c Fri Jun 23 22:49:38 2023 +0000
+++ b/usr.sbin/mld6query/mld6.c Sat Jun 24 05:12:03 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mld6.c,v 1.15 2016/07/20 23:19:18 christos Exp $       */
+/*     $NetBSD: mld6.c,v 1.16 2023/06/24 05:15:42 msaitoh Exp $        */
 /*     $KAME: mld6.c,v 1.9 2000/12/04 06:29:37 itojun Exp $    */
 
 /*
@@ -216,7 +216,7 @@ make_msg(int idx, struct in6_addr *addr,
        pi = (struct in6_pktinfo *)CMSG_DATA(cmsgp);
        pi->ipi6_ifindex = idx;
        memset(&pi->ipi6_addr, 0, sizeof(pi->ipi6_addr));
-       /* specifiy to insert router alert option in a hop-by-hop opt hdr. */
+       /* specify to insert router alert option in a hop-by-hop opt hdr. */
        cmsgp = CMSG_NXTHDR(&m, cmsgp);
 #ifdef USE_RFC2292BIS
        cmsgp->cmsg_len = CMSG_LEN(hbhlen);
diff -r e8ba82bca8e5 -r 1ffc18676126 usr.sbin/moused/moused.c
--- a/usr.sbin/moused/moused.c  Fri Jun 23 22:49:38 2023 +0000
+++ b/usr.sbin/moused/moused.c  Sat Jun 24 05:12:03 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: moused.c,v 1.29 2022/05/11 14:58:01 andvar Exp $ */
+/* $NetBSD: moused.c,v 1.30 2023/06/24 05:15:42 msaitoh Exp $ */
 /**
  ** Copyright (c) 1995 Michael Smith, All rights reserved.
  **
@@ -48,7 +48,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: moused.c,v 1.29 2022/05/11 14:58:01 andvar Exp $");
+__RCSID("$NetBSD: moused.c,v 1.30 2023/06/24 05:15:42 msaitoh Exp $");
 #endif /* not lint */
 
 #include <ctype.h>
@@ -2629,7 +2629,7 @@ pnpparse(pnpid_t *id, char *buf, int len
         }
        /*
         * PnP COM spec prior to v0.96 allowed '*' in this field, 
-        * it's not allowed now; just igore it.
+        * it's not allowed now; just ignore it.
         */
        if (buf[j] == '*')
            ++j;



Home | Main Index | Thread Index | Old Index