summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2021-10-15 22:32:28 +0000
committerandvar <andvar@NetBSD.org>2021-10-15 22:32:28 +0000
commit7a06cada8d2bae8c5af0d2766808cc507a3f7554 (patch)
tree7bacbb77cc8ee91a2e2f1a35e8731212099fb894
parent21ab459c2e1624957147d4d0a7a14666a7ec6f9f (diff)
fix typos in comments.
-rw-r--r--include/unistd.h4
-rw-r--r--sys/crypto/blowfish/bf_locl.h4
-rw-r--r--sys/dev/ic/aic79xxvar.h4
-rw-r--r--sys/ufs/lfs/ulfs_quota2.c6
-rw-r--r--sys/ufs/ufs/ufs_quota2.c6
5 files changed, 12 insertions, 12 deletions
diff --git a/include/unistd.h b/include/unistd.h
index bcafcc14ac5..ea941acb76a 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -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 @@ off_t lseek(int, off_t, int);
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 --git a/sys/crypto/blowfish/bf_locl.h b/sys/crypto/blowfish/bf_locl.h
index 1f0e134d842..382c953107b 100644
--- a/sys/crypto/blowfish/bf_locl.h
+++ b/sys/crypto/blowfish/bf_locl.h
@@ -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 --git a/sys/dev/ic/aic79xxvar.h b/sys/dev/ic/aic79xxvar.h
index 9deca14b8fa..1ea57213689 100644
--- a/sys/dev/ic/aic79xxvar.h
+++ b/sys/dev/ic/aic79xxvar.h
@@ -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 @@ struct ahd_softc {
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 --git a/sys/ufs/lfs/ulfs_quota2.c b/sys/ufs/lfs/ulfs_quota2.c
index 2f0c818432a..a3c12996377 100644
--- a/sys/ufs/lfs/ulfs_quota2.c
+++ b/sys/ufs/lfs/ulfs_quota2.c
@@ -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 @@ quota2_q2ealloc(struct ulfsmount *ump, int type, uid_t uid, struct dquot *dq)
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 --git a/sys/ufs/ufs/ufs_quota2.c b/sys/ufs/ufs/ufs_quota2.c
index 70b95f6ded2..352d0d2437c 100644
--- a/sys/ufs/ufs/ufs_quota2.c
+++ b/sys/ufs/ufs/ufs_quota2.c
@@ -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 @@ quota2_q2ealloc(struct ufsmount *ump, int type, uid_t uid, struct dquot *dq)
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) {