Source-Changes-HG archive

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

[src/trunk]: src fix typos in comments.



details:   https://anonhg.NetBSD.org/src/rev/7769f21b7d9c
branches:  trunk
changeset: 1024272:7769f21b7d9c
user:      andvar <andvar%NetBSD.org@localhost>
date:      Fri Oct 15 22:32:28 2021 +0000

description:
fix typos in comments.

diffstat:

 include/unistd.h              |  4 ++--
 sys/crypto/blowfish/bf_locl.h |  4 ++--
 sys/dev/ic/aic79xxvar.h       |  4 ++--
 sys/ufs/lfs/ulfs_quota2.c     |  6 +++---
 sys/ufs/ufs/ufs_quota2.c      |  6 +++---
 5 files changed, 12 insertions(+), 12 deletions(-)

diffs (108 lines):

diff -r 011d372f09bb -r 7769f21b7d9c include/unistd.h
--- a/include/unistd.h  Fri Oct 15 19:22:12 2021 +0000
+++ b/include/unistd.h  Fri Oct 15 22:32:28 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: unistd.h,v 1.161 2020/12/04 23:04:58 kre Exp $ */
+/*     $NetBSD: unistd.h,v 1.162 2021/10/15 22:32:28 andvar Exp $      */
 
 /*-
  * Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
@@ -187,7 +187,7 @@
 int     truncate(const char *, off_t);
 /*
  * IEEE Std 1003.1b-93,
- * also found in X/Open Portability Guide >= Issue 4 Verion 2
+ * also found in X/Open Portability Guide >= Issue 4 Version 2
  */
 #if (_POSIX_C_SOURCE - 0) >= 199309L || \
     (defined(_XOPEN_SOURCE) && defined(_XOPEN_SOURCE_EXTENDED)) || \
diff -r 011d372f09bb -r 7769f21b7d9c sys/crypto/blowfish/bf_locl.h
--- a/sys/crypto/blowfish/bf_locl.h     Fri Oct 15 19:22:12 2021 +0000
+++ b/sys/crypto/blowfish/bf_locl.h     Fri Oct 15 22:32:28 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bf_locl.h,v 1.6 2019/02/04 08:23:53 mrg Exp $  */
+/*     $NetBSD: bf_locl.h,v 1.7 2021/10/15 22:32:28 andvar Exp $       */
 /*     $KAME: bf_locl.h,v 1.5 2000/08/31 06:03:48 itojun Exp $ */
 
 /* crypto/bf/bf_local.h */
@@ -179,7 +179,7 @@
 
 #if defined(BF_PTR2)
 
-/* This is basically a special pentium verson */
+/* This is basically a special pentium version */
 #define BF_ENC(LL,R,S,P) \
        { \
        BF_LONG t,u,v; \
diff -r 011d372f09bb -r 7769f21b7d9c sys/dev/ic/aic79xxvar.h
--- a/sys/dev/ic/aic79xxvar.h   Fri Oct 15 19:22:12 2021 +0000
+++ b/sys/dev/ic/aic79xxvar.h   Fri Oct 15 22:32:28 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aic79xxvar.h,v 1.28 2021/08/22 19:56:15 andvar Exp $   */
+/*     $NetBSD: aic79xxvar.h,v 1.29 2021/10/15 22:32:28 andvar Exp $   */
 
 /*
  * Core definitions and data structures sharable across OS platforms.
@@ -1186,7 +1186,7 @@
        uint8_t                   tqinfifonext;
 
        /*
-        * Cached verson of the hs_mailbox so we can avoid
+        * Cached version of the hs_mailbox so we can avoid
         * pausing the sequencer during mailbox updates.
         */
        uint8_t                   hs_mailbox;
diff -r 011d372f09bb -r 7769f21b7d9c sys/ufs/lfs/ulfs_quota2.c
--- a/sys/ufs/lfs/ulfs_quota2.c Fri Oct 15 19:22:12 2021 +0000
+++ b/sys/ufs/lfs/ulfs_quota2.c Fri Oct 15 22:32:28 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ulfs_quota2.c,v 1.33 2020/12/05 17:40:00 thorpej Exp $ */
+/*     $NetBSD: ulfs_quota2.c,v 1.34 2021/10/15 22:32:29 andvar Exp $  */
 /*  from NetBSD: ufs_quota2.c,v 1.40 2015/03/28 19:24:05 maxv Exp Exp  */
 /*  from NetBSD: ffs_quota2.c,v 1.5 2015/02/22 14:12:48 maxv Exp  */
 
@@ -29,7 +29,7 @@
   */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ulfs_quota2.c,v 1.33 2020/12/05 17:40:00 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ulfs_quota2.c,v 1.34 2021/10/15 22:32:29 andvar Exp $");
 
 #include <sys/buf.h>
 #include <sys/param.h>
@@ -311,7 +311,7 @@
                struct vnode *vp = ump->um_quotas[type];
                struct inode *ip = VTOI(vp);
                uint64_t size = ip->i_size;
-               /* need to alocate a new disk block */
+               /* need to allocate a new disk block */
                error = lfs_balloc(vp, size, ump->umq2_bsize,
                    ump->um_cred[type], B_CLRBUF | B_SYNC, &bp);
                if (error) {
diff -r 011d372f09bb -r 7769f21b7d9c sys/ufs/ufs/ufs_quota2.c
--- a/sys/ufs/ufs/ufs_quota2.c  Fri Oct 15 19:22:12 2021 +0000
+++ b/sys/ufs/ufs/ufs_quota2.c  Fri Oct 15 22:32:28 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ufs_quota2.c,v 1.43 2020/12/05 17:33:54 thorpej Exp $ */
+/* $NetBSD: ufs_quota2.c,v 1.44 2021/10/15 22:32:29 andvar Exp $ */
 /*-
   * Copyright (c) 2010 Manuel Bouyer
   * All rights reserved.
@@ -26,7 +26,7 @@
   */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ufs_quota2.c,v 1.43 2020/12/05 17:33:54 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ufs_quota2.c,v 1.44 2021/10/15 22:32:29 andvar Exp $");
 
 #include <sys/buf.h>
 #include <sys/param.h>
@@ -304,7 +304,7 @@
                struct vnode *vp = ump->um_quotas[type];
                struct inode *ip = VTOI(vp);
                uint64_t size = ip->i_size;
-               /* need to alocate a new disk block */
+               /* need to allocate a new disk block */
                error = UFS_BALLOC(vp, size, ump->umq2_bsize,
                    ump->um_cred[type], B_CLRBUF | B_SYNC, &bp);
                if (error) {



Home | Main Index | Thread Index | Old Index