Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src remove double "with" in comments and usage text. Also fix on...
details: https://anonhg.NetBSD.org/src/rev/572b26138a19
branches: trunk
changeset: 359813:572b26138a19
user: andvar <andvar%NetBSD.org@localhost>
date: Mon Jan 24 09:42:13 2022 +0000
description:
remove double "with" in comments and usage text. Also fix one typo.
diffstat:
distrib/common/buildfloppies.sh | 4 ++--
sys/dev/i2c/adm1021.c | 6 +++---
sys/dev/i2c/i2c.c | 6 +++---
sys/dev/ic/ispmbox.h | 4 ++--
sys/fs/udf/udf_subr.c | 6 +++---
sys/kern/subr_cpu.c | 6 +++---
6 files changed, 16 insertions(+), 16 deletions(-)
diffs (146 lines):
diff -r 368f32a4eb46 -r 572b26138a19 distrib/common/buildfloppies.sh
--- a/distrib/common/buildfloppies.sh Mon Jan 24 09:14:36 2022 +0000
+++ b/distrib/common/buildfloppies.sh Mon Jan 24 09:42:13 2022 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: buildfloppies.sh,v 1.19 2018/09/16 21:49:18 kre Exp $
+# $NetBSD: buildfloppies.sh,v 1.20 2022/01/24 09:42:13 andvar Exp $
#
# Copyright (c) 2002-2003 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -42,7 +42,7 @@
cat 1>&2 << _USAGE_
Usage: ${prog} [options] base size file [...]
-i instboot eval instboot as a shell command to install a
- bootstrap. @IMAGE@ is replaced with with the
+ bootstrap. @IMAGE@ is replaced with the
file name of the floppy image.
-m max maximum number of floppies to build
-N etcdir directory in which to find passwd and group files.
diff -r 368f32a4eb46 -r 572b26138a19 sys/dev/i2c/adm1021.c
--- a/sys/dev/i2c/adm1021.c Mon Jan 24 09:14:36 2022 +0000
+++ b/sys/dev/i2c/adm1021.c Mon Jan 24 09:42:13 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: adm1021.c,v 1.29 2021/06/21 03:12:54 christos Exp $ */
+/* $NetBSD: adm1021.c,v 1.30 2022/01/24 09:42:14 andvar Exp $ */
/* $OpenBSD: adm1021.c,v 1.27 2007/06/24 05:34:35 dlg Exp $ */
/*
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: adm1021.c,v 1.29 2021/06/21 03:12:54 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: adm1021.c,v 1.30 2022/01/24 09:42:14 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -280,7 +280,7 @@
/*
* MAX6642 doesn't have a revision register
* XXX this works only on macppc with iic at pmu because the
- * pmu doesn't return an error for nonexistant registers, it
+ * pmu doesn't return an error for nonexistent registers, it
* just repeats previous data
*/
if (*comp == *rev) {
diff -r 368f32a4eb46 -r 572b26138a19 sys/dev/i2c/i2c.c
--- a/sys/dev/i2c/i2c.c Mon Jan 24 09:14:36 2022 +0000
+++ b/sys/dev/i2c/i2c.c Mon Jan 24 09:42:13 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i2c.c,v 1.83 2022/01/22 11:49:17 thorpej Exp $ */
+/* $NetBSD: i2c.c,v 1.84 2022/01/24 09:42:14 andvar Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@@ -53,7 +53,7 @@
#endif /* _KERNEL_OPT */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i2c.c,v 1.83 2022/01/22 11:49:17 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i2c.c,v 1.84 2022/01/24 09:42:14 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -763,7 +763,7 @@
/*
* iic_use_direct_match --
* Helper for direct-config of i2c. Returns true if this is
- * a direct-config situation, along with with match result.
+ * a direct-config situation, along with match result.
* Returns false if the driver should use indirect-config
* matching logic.
*/
diff -r 368f32a4eb46 -r 572b26138a19 sys/dev/ic/ispmbox.h
--- a/sys/dev/ic/ispmbox.h Mon Jan 24 09:14:36 2022 +0000
+++ b/sys/dev/ic/ispmbox.h Mon Jan 24 09:42:13 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ispmbox.h,v 1.56 2013/09/14 12:43:08 martin Exp $ */
+/* $NetBSD: ispmbox.h,v 1.57 2022/01/24 09:42:14 andvar Exp $ */
/*
* Copyright (C) 1997, 1998, 1999 National Aeronautics & Space Administration
* All rights reserved.
@@ -1400,7 +1400,7 @@
#define PLOGX_FLG_IMPLICIT_LOGO_ALL 0x20 /* if with LOGO */
#define PLOGX_FLG_EXPLICIT_LOGO 0x40 /* if with LOGO */
#define PLOGX_FLG_COMMON_FEATURES 0x80 /* if with PLOGI */
-#define PLOGX_FLG_FREE_NPHDL 0x80 /* if with with LOGO */
+#define PLOGX_FLG_FREE_NPHDL 0x80 /* if with LOGO */
#define PLOGX_FLG_CLASS2 0x100 /* if with PLOGI */
#define PLOGX_FLG_FCP2_OVERRIDE 0x200 /* if with PRLOG, PRLI */
diff -r 368f32a4eb46 -r 572b26138a19 sys/fs/udf/udf_subr.c
--- a/sys/fs/udf/udf_subr.c Mon Jan 24 09:14:36 2022 +0000
+++ b/sys/fs/udf/udf_subr.c Mon Jan 24 09:42:13 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_subr.c,v 1.163 2022/01/01 08:34:35 msaitoh Exp $ */
+/* $NetBSD: udf_subr.c,v 1.164 2022/01/24 09:42:14 andvar Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.163 2022/01/01 08:34:35 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.164 2022/01/24 09:42:14 andvar Exp $");
#endif /* not lint */
@@ -5514,7 +5514,7 @@
* sure the chain is maintained.
*
* `needs_indirect' flags if the next location is to be filled with
- * with an indirect entry.
+ * an indirect entry.
*/
udf_node->write_loc = icb_loc;
udf_node->needs_indirect = needs_indirect;
diff -r 368f32a4eb46 -r 572b26138a19 sys/kern/subr_cpu.c
--- a/sys/kern/subr_cpu.c Mon Jan 24 09:14:36 2022 +0000
+++ b/sys/kern/subr_cpu.c Mon Jan 24 09:42:13 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_cpu.c,v 1.17 2021/10/04 21:02:39 andvar Exp $ */
+/* $NetBSD: subr_cpu.c,v 1.18 2022/01/24 09:42:14 andvar Exp $ */
/*-
* Copyright (c) 2007, 2008, 2009, 2010, 2012, 2019, 2020
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_cpu.c,v 1.17 2021/10/04 21:02:39 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_cpu.c,v 1.18 2022/01/24 09:42:14 andvar Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -450,7 +450,7 @@
/*
* Fetch fresh sum total for all counts. Expensive - don't call often.
*
- * If poll is true, the caller is okay with with less recent values (but
+ * If poll is true, the caller is okay with less recent values (but
* no more than 1/hz seconds old). Where this is called very often that
* should be the case.
*
Home |
Main Index |
Thread Index |
Old Index