Skip to content

Commit a314b8f

Browse files
committed
fix various typos in comments.
1 parent 6a78f3a commit a314b8f

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

sbin/newfs_ext2fs/mke2fs.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: mke2fs.c,v 1.27 2024/02/22 14:11:52 tsutsui Exp $ */
1+
/* $NetBSD: mke2fs.c,v 1.28 2025/01/05 22:11:18 andvar Exp $ */
22

33
/*-
44
* Copyright (c) 2007 Izumi Tsutsui. All rights reserved.
@@ -100,7 +100,7 @@
100100
#if 0
101101
static char sccsid[] = "@(#)mkfs.c 8.11 (Berkeley) 5/3/95";
102102
#else
103-
__RCSID("$NetBSD: mke2fs.c,v 1.27 2024/02/22 14:11:52 tsutsui Exp $");
103+
__RCSID("$NetBSD: mke2fs.c,v 1.28 2025/01/05 22:11:18 andvar Exp $");
104104
#endif
105105
#endif /* not lint */
106106

@@ -580,8 +580,8 @@ mke2fs(const char *fsys, int fi, int fo)
580580
zap_old_sblock(pblock * pbsize[i]);
581581
}
582582
/*
583-
* Also zap possbile FFS magic leftover to prevent
584-
* kernel vfs_mountroot() and bootloadres from mis-recognizing
583+
* Also zap possible FFS magic leftover to prevent
584+
* kernel vfs_mountroot() and bootloaders from mis-recognizing
585585
* this file system as FFS.
586586
*/
587587
zap_old_sblock(8192); /* SBLOCK_UFS1 */

sys/arch/m68k/m68k/cpu_in_cksum.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: cpu_in_cksum.c,v 1.1 2010/09/19 01:35:43 tsutsui Exp $ */
1+
/* $NetBSD: cpu_in_cksum.c,v 1.2 2025/01/05 22:11:17 andvar Exp $ */
22
/*-
33
* Copyright (c) 2008 Joerg Sonnenberger <[email protected]>.
44
* All rights reserved.
@@ -29,7 +29,7 @@
2929
*/
3030

3131
#include <sys/cdefs.h>
32-
__KERNEL_RCSID(0, "$NetBSD: cpu_in_cksum.c,v 1.1 2010/09/19 01:35:43 tsutsui Exp $");
32+
__KERNEL_RCSID(0, "$NetBSD: cpu_in_cksum.c,v 1.2 2025/01/05 22:11:17 andvar Exp $");
3333

3434
#include <sys/param.h>
3535
#include <sys/mbuf.h>
@@ -102,7 +102,7 @@ cpu_in_cksum(struct mbuf *m, int len, int off, uint32_t initial_sum)
102102
}
103103
needs_swap = started_on_odd;
104104

105-
/* A possbile trailing odd byte is handled in oc_cksum() */
105+
/* A possible trailing odd byte is handled in oc_cksum() */
106106
if (mlen & 1)
107107
started_on_odd = !started_on_odd;
108108
/* 16 bit word alignment is enough on m68k */

sys/dev/acpi/apei_hest.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: apei_hest.c,v 1.6 2024/10/27 12:13:07 riastradh Exp $ */
1+
/* $NetBSD: apei_hest.c,v 1.7 2025/01/05 22:11:18 andvar Exp $ */
22

33
/*-
44
* Copyright (c) 2024 The NetBSD Foundation, Inc.
@@ -52,7 +52,7 @@
5252
*/
5353

5454
#include <sys/cdefs.h>
55-
__KERNEL_RCSID(0, "$NetBSD: apei_hest.c,v 1.6 2024/10/27 12:13:07 riastradh Exp $");
55+
__KERNEL_RCSID(0, "$NetBSD: apei_hest.c,v 1.7 2025/01/05 22:11:18 andvar Exp $");
5656

5757
#include <sys/types.h>
5858

@@ -369,7 +369,7 @@ apei_hest_attach_ghes(struct apei_softc *sc, ACPI_HEST_GENERIC *ghes,
369369
}
370370

371371
/*
372-
* Read the GHES Error Status Addresss. This is the physical
372+
* Read the GHES Error Status Address. This is the physical
373373
* address of a GESB, Generic Error Status Block. Why the
374374
* physical address is exposed via this indirection, and not
375375
* simply stored directly in the GHES, is unclear to me.
@@ -542,7 +542,7 @@ apei_hest_attach_ghes_v2(struct apei_softc *sc, ACPI_HEST_GENERIC_V2 *ghes_v2,
542542
}
543543

544544
/*
545-
* Read the GHESv2 Error Status Addresss. This is the physical
545+
* Read the GHESv2 Error Status Address. This is the physical
546546
* address of a GESB, Generic Error Status Block. Why the
547547
* physical address is exposed via this indirection, and not
548548
* simply stored directly in the GHESv2, is unclear to me.

sys/dev/ic/pcf8584reg.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: pcf8584reg.h,v 1.2 2016/01/03 17:32:17 jdc Exp $ */
1+
/* $NetBSD: pcf8584reg.h,v 1.3 2025/01/05 22:11:18 andvar Exp $ */
22

33
/* Written by Tobias Nygren. Released into the public domain. */
44

@@ -28,7 +28,7 @@
2828
/* Status register bits (read only) */
2929
#define PCF8584_STATUS_BBN (1<<0) /* Bus Busy Not */
3030
#define PCF8584_STATUS_LAB (1<<1) /* Lost Arbitration */
31-
#define PCF8584_STATUS_AAS (1<<2) /* Adressed As Slave */
31+
#define PCF8584_STATUS_AAS (1<<2) /* Addressed As Slave */
3232
#define PCF8584_STATUS_LRB (1<<3) /* Last Received Bit (NAK+bcast det.) */
3333
#define PCF8584_STATUS_BER (1<<4) /* Bus error */
3434
#define PCF8584_STATUS_STS (1<<5) /* external STOP condition detected */

sys/fs/udf/udf_allocation.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: udf_allocation.c,v 1.47 2022/05/22 11:27:36 andvar Exp $ */
1+
/* $NetBSD: udf_allocation.c,v 1.48 2025/01/05 22:11:18 andvar Exp $ */
22

33
/*
44
* Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -28,7 +28,7 @@
2828

2929
#include <sys/cdefs.h>
3030
#ifndef lint
31-
__KERNEL_RCSID(0, "$NetBSD: udf_allocation.c,v 1.47 2022/05/22 11:27:36 andvar Exp $");
31+
__KERNEL_RCSID(0, "$NetBSD: udf_allocation.c,v 1.48 2025/01/05 22:11:18 andvar Exp $");
3232
#endif /* not lint */
3333

3434

@@ -1998,7 +1998,7 @@ udf_append_adslot(struct udf_node *udf_node, int *slot, struct long_ad *icb) {
19981998
}
19991999
flags = UDF_EXT_FLAGS(udf_rw32(l_icb.len));
20002000
if (flags != UDF_EXT_REDIRECT) {
2001-
/* only one past the last one is adressable */
2001+
/* only one past the last one is addressable */
20022002
break;
20032003
}
20042004

0 commit comments

Comments
 (0)