Module Name: src
Committed By: andvar
Date: Wed Oct 26 22:09:37 UTC 2022
Modified Files:
src/common/lib/libx86emu: x86emu.c
src/lib/libpam/modules/pam_unix: pam_unix.c
src/share/man/man4: ciphy.4
src/sys/dev/hpc: hpckbd.c
Log Message:
nix double n, i or g in "ing", in comments and documentation.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/common/lib/libx86emu/x86emu.c
cvs rdiff -u -r1.18 -r1.19 src/lib/libpam/modules/pam_unix/pam_unix.c
cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/ciphy.4
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/hpc/hpckbd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/common/lib/libx86emu/x86emu.c
diff -u src/common/lib/libx86emu/x86emu.c:1.12 src/common/lib/libx86emu/x86emu.c:1.13
--- src/common/lib/libx86emu/x86emu.c:1.12 Sun Dec 5 04:24:08 2021
+++ src/common/lib/libx86emu/x86emu.c Wed Oct 26 22:09:37 2022
@@ -1,5 +1,5 @@
-/* $NetBSD: x86emu.c,v 1.12 2021/12/05 04:24:08 msaitoh Exp $ */
+/* $NetBSD: x86emu.c,v 1.13 2022/10/26 22:09:37 andvar Exp $ */
/****************************************************************************
*
@@ -6408,7 +6408,7 @@ neg_byte(struct X86EMU *emu, uint8_t s)
CONDITIONAL_SET_FLAG(res & 0x80, F_SF);
CONDITIONAL_SET_FLAG(PARITY(res), F_PF);
/* calculate the borrow chain --- modified such that d=0.
- * substitutiing d=0 into bc= res&(~d|s)|(~d&s); (the one used for
+ * substituting d=0 into bc= res&(~d|s)|(~d&s); (the one used for
* sub) and simplifying, since ~d=0xff..., ~d|s == 0xffff..., and
* res&0xfff... == res. Similarly ~d&s == s. So the simplified
* result is: */
@@ -6434,7 +6434,7 @@ neg_word(struct X86EMU *emu, uint16_t s)
CONDITIONAL_SET_FLAG(PARITY(res & 0xff), F_PF);
/* calculate the borrow chain --- modified such that d=0.
- * substitutiing d=0 into bc= res&(~d|s)|(~d&s); (the one used for
+ * substituting d=0 into bc= res&(~d|s)|(~d&s); (the one used for
* sub) and simplifying, since ~d=0xff..., ~d|s == 0xffff..., and
* res&0xfff... == res. Similarly ~d&s == s. So the simplified
* result is: */
@@ -6460,7 +6460,7 @@ neg_long(struct X86EMU *emu, uint32_t s)
CONDITIONAL_SET_FLAG(PARITY(res & 0xff), F_PF);
/* calculate the borrow chain --- modified such that d=0.
- * substitutiing d=0 into bc= res&(~d|s)|(~d&s); (the one used for
+ * substituting d=0 into bc= res&(~d|s)|(~d&s); (the one used for
* sub) and simplifying, since ~d=0xff..., ~d|s == 0xffff..., and
* res&0xfff... == res. Similarly ~d&s == s. So the simplified
* result is: */
Index: src/lib/libpam/modules/pam_unix/pam_unix.c
diff -u src/lib/libpam/modules/pam_unix/pam_unix.c:1.18 src/lib/libpam/modules/pam_unix/pam_unix.c:1.19
--- src/lib/libpam/modules/pam_unix/pam_unix.c:1.18 Sun Apr 10 09:50:44 2022
+++ src/lib/libpam/modules/pam_unix/pam_unix.c Wed Oct 26 22:09:37 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: pam_unix.c,v 1.18 2022/04/10 09:50:44 andvar Exp $ */
+/* $NetBSD: pam_unix.c,v 1.19 2022/10/26 22:09:37 andvar Exp $ */
/*-
* Copyright 1998 Juniper Networks, Inc.
@@ -40,7 +40,7 @@
#ifdef __FreeBSD__
__FBSDID("$FreeBSD: src/lib/libpam/modules/pam_unix/pam_unix.c,v 1.49 2004/02/10 10:13:21 des Exp $");
#else
-__RCSID("$NetBSD: pam_unix.c,v 1.18 2022/04/10 09:50:44 andvar Exp $");
+__RCSID("$NetBSD: pam_unix.c,v 1.19 2022/10/26 22:09:37 andvar Exp $");
#endif
@@ -521,7 +521,7 @@ pam_sm_chauthtok(pam_handle_t *pamh, int
if (pwd->pw_passwd[0] == '\0') {
/*
* No password case.
- * XXX Are we giviing too much away by not prompting
+ * XXX Are we giving too much away by not prompting
* XXX for a password?
* XXX Check PAM_DISALLOW_NULL_AUTHTOK
*/
Index: src/share/man/man4/ciphy.4
diff -u src/share/man/man4/ciphy.4:1.3 src/share/man/man4/ciphy.4:1.4
--- src/share/man/man4/ciphy.4:1.3 Wed Apr 30 13:10:53 2008
+++ src/share/man/man4/ciphy.4 Wed Oct 26 22:09:37 2022
@@ -1,4 +1,4 @@
-.\" $NetBSD: ciphy.4,v 1.3 2008/04/30 13:10:53 martin Exp $
+.\" $NetBSD: ciphy.4,v 1.4 2022/10/26 22:09:37 andvar Exp $
.\"
.\" Copyright (c) 2005 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -38,7 +38,7 @@
.Sh DESCRIPTION
The
.Nm
-driver supports PHYs commonly integrated on VIA Networkinng Technologies
+driver supports PHYs commonly integrated on VIA Networking Technologies
VT6122 Gigabit Ethernet adapters.
.Sh SEE ALSO
.Xr ifmedia 4 ,
Index: src/sys/dev/hpc/hpckbd.c
diff -u src/sys/dev/hpc/hpckbd.c:1.37 src/sys/dev/hpc/hpckbd.c:1.38
--- src/sys/dev/hpc/hpckbd.c:1.37 Sat Aug 7 16:19:11 2021
+++ src/sys/dev/hpc/hpckbd.c Wed Oct 26 22:09:37 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: hpckbd.c,v 1.37 2021/08/07 16:19:11 thorpej Exp $ */
+/* $NetBSD: hpckbd.c,v 1.38 2022/10/26 22:09:37 andvar Exp $ */
/*-
* Copyright (c) 1999-2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hpckbd.c,v 1.37 2021/08/07 16:19:11 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hpckbd.c,v 1.38 2022/10/26 22:09:37 andvar Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -307,7 +307,7 @@ hpckbd_keymap_setup(struct hpckbd_core *
/*
* fix keydesc table. Since it is const data, we must
- * copy it once before changingg it.
+ * copy it once before changing it.
*/
if (ndesc == NULL) {