Module Name: src
Committed By: andvar
Date: Tue Feb 25 15:29:00 UTC 2025
Modified Files:
src/sbin/fsck_ffs: inode.c
src/sys/arch/sparc/sparc: timer_msiiep.c
src/sys/dev/pci/igc: igc_i225.c
Log Message:
Fix a few typos in the word 'offset' in comments and error message.
To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/sbin/fsck_ffs/inode.c
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/sparc/sparc/timer_msiiep.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/igc/igc_i225.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/fsck_ffs/inode.c
diff -u src/sbin/fsck_ffs/inode.c:1.78 src/sbin/fsck_ffs/inode.c:1.79
--- src/sbin/fsck_ffs/inode.c:1.78 Wed Jul 5 10:59:08 2023
+++ src/sbin/fsck_ffs/inode.c Tue Feb 25 15:29:00 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: inode.c,v 1.78 2023/07/05 10:59:08 riastradh Exp $ */
+/* $NetBSD: inode.c,v 1.79 2025/02/25 15:29:00 andvar Exp $ */
/*
* Copyright (c) 1980, 1986, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)inode.c 8.8 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: inode.c,v 1.78 2023/07/05 10:59:08 riastradh Exp $");
+__RCSID("$NetBSD: inode.c,v 1.79 2025/02/25 15:29:00 andvar Exp $");
#endif
#endif /* not lint */
@@ -909,7 +909,7 @@ readblk(union dinode *dp, off_t offset,
blkno -= nblks;
}
if (ilevel > UFS_NIADDR)
- errexit("bad ofsset %" PRIu64 " to readblk", offset);
+ errexit("bad offset %" PRIu64 " to readblk", offset);
/* get the first indirect block */
iblkno = is_ufs2 ? iswap64(dp->dp2.di_ib[ilevel - 1]) :
Index: src/sys/arch/sparc/sparc/timer_msiiep.c
diff -u src/sys/arch/sparc/sparc/timer_msiiep.c:1.28 src/sys/arch/sparc/sparc/timer_msiiep.c:1.29
--- src/sys/arch/sparc/sparc/timer_msiiep.c:1.28 Sat Nov 16 23:54:01 2013
+++ src/sys/arch/sparc/sparc/timer_msiiep.c Tue Feb 25 15:29:00 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: timer_msiiep.c,v 1.28 2013/11/16 23:54:01 mrg Exp $ */
+/* $NetBSD: timer_msiiep.c,v 1.29 2025/02/25 15:29:00 andvar Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: timer_msiiep.c,v 1.28 2013/11/16 23:54:01 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: timer_msiiep.c,v 1.29 2025/02/25 15:29:00 andvar Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -96,7 +96,7 @@ static struct intrhand level14 = { .ih_f
*/
static struct counter {
u_int limit; /* limit we count up to */
- u_int offset; /* accumulated offet due to wraps */
+ u_int offset; /* accumulated offset due to wraps */
} cntr;
/*
Index: src/sys/dev/pci/igc/igc_i225.c
diff -u src/sys/dev/pci/igc/igc_i225.c:1.2 src/sys/dev/pci/igc/igc_i225.c:1.3
--- src/sys/dev/pci/igc/igc_i225.c:1.2 Wed Oct 4 07:35:27 2023
+++ src/sys/dev/pci/igc/igc_i225.c Tue Feb 25 15:29:00 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: igc_i225.c,v 1.2 2023/10/04 07:35:27 rin Exp $ */
+/* $NetBSD: igc_i225.c,v 1.3 2025/02/25 15:29:00 andvar Exp $ */
/* $OpenBSD: igc_i225.c,v 1.4 2023/02/03 11:31:52 mbuhl Exp $ */
/*-
* Copyright 2021 Intel Corp
@@ -7,7 +7,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: igc_i225.c,v 1.2 2023/10/04 07:35:27 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: igc_i225.c,v 1.3 2025/02/25 15:29:00 andvar Exp $");
#include <dev/pci/igc/igc_api.h>
@@ -844,7 +844,7 @@ igc_update_flash_i225(struct igc_hw *hw)
goto out;
}
- /* Write CurrentOffseData to FLSWDATA register */
+ /* Write CurrentOffsetData to FLSWDATA register */
IGC_WRITE_REG(hw, IGC_I225_FLSWDATA,
current_offset_data);
current_offset++;