diff --git a/etc/etc.macppc/MAKEDEV.conf b/etc/etc.macppc/MAKEDEV.conf index d1df761b940b..5753010c3e07 100644 --- a/etc/etc.macppc/MAKEDEV.conf +++ b/etc/etc.macppc/MAKEDEV.conf @@ -1,4 +1,4 @@ -# $NetBSD: MAKEDEV.conf,v 1.14 2022/08/12 11:15:41 riastradh Exp $ +# $NetBSD: MAKEDEV.conf,v 1.15 2024/02/04 20:50:30 andvar Exp $ all_md) makedev wscons sd0 sd1 sd2 st0 st1 cd0 cd1 wd0 wd1 wd2 wd3 @@ -33,7 +33,7 @@ floppy) tty1[0-9]) # Mac uses special mapping - tty0[01] are the zstty ports, # tty1? are 'com' ports; for 'com' ports, we need to start - # at correct offset, i.e. substract 10 + # at correct offset, i.e. subtract 10 ounit=${i#tty} ounit=$(($ounit + 0)) if [ $ounit -lt 10 ]; then diff --git a/etc/etc.ofppc/MAKEDEV.conf b/etc/etc.ofppc/MAKEDEV.conf index 96c801f2e95e..1562702be4d2 100644 --- a/etc/etc.ofppc/MAKEDEV.conf +++ b/etc/etc.ofppc/MAKEDEV.conf @@ -1,4 +1,4 @@ -# $NetBSD: MAKEDEV.conf,v 1.11 2019/01/27 08:53:29 maxv Exp $ +# $NetBSD: MAKEDEV.conf,v 1.12 2024/02/04 20:50:29 andvar Exp $ all_md) makedev wscons sd0 sd1 sd2 st0 st1 cd0 cd1 wd0 wd1 fd0 fd1 @@ -28,7 +28,7 @@ floppy) tty1[0-9]) # Mac uses special mapping - tty0[01] are the zstty ports, # tty1? are 'com' ports; for 'com' ports, we need to start - # at correct offset, i.e. substract 10 + # at correct offset, i.e. subtract 10 ounit=${i#tty} ounit=$(($ounit + 0)) if [ $ounit -lt 10 ]; then diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c index ddbaa10be8b5..dca92a0ca260 100644 --- a/sys/dev/pci/mpii.c +++ b/sys/dev/pci/mpii.c @@ -1,4 +1,4 @@ -/* $NetBSD: mpii.c,v 1.30 2023/10/25 00:21:49 buhrow Exp $ */ +/* $NetBSD: mpii.c,v 1.31 2024/02/04 20:50:30 andvar Exp $ */ /* $OpenBSD: mpii.c,v 1.115 2018/08/14 05:22:21 jmatthew Exp $ */ /* * Copyright (c) 2010, 2012 Mike Belopuhov @@ -20,7 +20,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: mpii.c,v 1.30 2023/10/25 00:21:49 buhrow Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mpii.c,v 1.31 2024/02/04 20:50:30 andvar Exp $"); #include "bio.h" @@ -3685,7 +3685,7 @@ mpii_bio_hs(struct mpii_softc *sc, struct bioc_disk *bd, int nvdsk, /* * diskid comparison is based on the idea that all * disks are counted by the bio(4) in sequence, thus - * substracting the number of disks in the volume + * subtracting the number of disks in the volume * from the diskid yields us a "relative" hotspare * number, which is good enough for us. */ diff --git a/sys/fs/udf/udf_subr.c b/sys/fs/udf/udf_subr.c index 1698674f2f81..ee35e10ce95b 100644 --- a/sys/fs/udf/udf_subr.c +++ b/sys/fs/udf/udf_subr.c @@ -1,4 +1,4 @@ -/* $NetBSD: udf_subr.c,v 1.174 2023/06/03 20:41:45 andvar Exp $ */ +/* $NetBSD: udf_subr.c,v 1.175 2024/02/04 20:50:30 andvar Exp $ */ /* * Copyright (c) 2006, 2008 Reinoud Zandijk @@ -29,7 +29,7 @@ #include #ifndef lint -__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.174 2023/06/03 20:41:45 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.175 2024/02/04 20:50:30 andvar Exp $"); #endif /* not lint */ @@ -4919,7 +4919,7 @@ udf_dir_detach(struct udf_mount *ump, struct udf_node *dir_node, refcnt = udf_rw16(udf_node->efe->link_cnt); } #ifdef UDF_COMPLETE_DELETE - /* substract reference counter in attached node */ + /* subtract reference counter in attached node */ refcnt -= 1; if (udf_node->fe) { udf_node->fe->link_cnt = udf_rw16(refcnt); @@ -4934,7 +4934,7 @@ udf_dir_detach(struct udf_mount *ump, struct udf_node *dir_node, if (fid->file_char & UDF_FILE_CHAR_DIR) { int drefcnt; - /* substract reference counter in directory node */ + /* subtract reference counter in directory node */ /* note subtract 2 (?) for its was also backreferenced */ if (dir_node->fe) { drefcnt = udf_rw16(dir_node->fe->link_cnt);