Module Name: src
Committed By: andvar
Date: Sun Aug 7 10:12:20 UTC 2022
Modified Files:
src/sys/arch/alpha/alpha: locore.s
src/tests/dev/audio: audiotest.c
src/usr.bin/mail: format.c
Log Message:
fix some typos and grammar in comments.
To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143 src/sys/arch/alpha/alpha/locore.s
cvs rdiff -u -r1.23 -r1.24 src/tests/dev/audio/audiotest.c
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/mail/format.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/alpha/alpha/locore.s
diff -u src/sys/arch/alpha/alpha/locore.s:1.142 src/sys/arch/alpha/alpha/locore.s:1.143
--- src/sys/arch/alpha/alpha/locore.s:1.142 Wed Jul 20 18:25:10 2022
+++ src/sys/arch/alpha/alpha/locore.s Sun Aug 7 10:12:19 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.142 2022/07/20 18:25:10 thorpej Exp $ */
+/* $NetBSD: locore.s,v 1.143 2022/08/07 10:12:19 andvar Exp $ */
/*-
* Copyright (c) 1999, 2000, 2019 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
#include <machine/asm.h>
-__KERNEL_RCSID(0, "$NetBSD: locore.s,v 1.142 2022/07/20 18:25:10 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: locore.s,v 1.143 2022/08/07 10:12:19 andvar Exp $");
#include "assym.h"
@@ -164,7 +164,7 @@ NESTED_NOPROFILE(locorestart,1,0,ra,0,0)
* going to fake our return address as the kthread backstop.
* Hitting the backstop will trigger a panic, and we want lwp0
* to work like other kthreads in that regard. We will still
- * leep the "main returned" backstop here in case something
+ * keep the "main returned" backstop here in case something
* goes horribly wrong.
*/
lda ra, alpha_kthread_backstop
@@ -277,7 +277,7 @@ LEAF(exception_return, 1) /* XXX shoul
2: /*
* Check to see if a soft interrupt is pending. We need to only
* check for soft ints eligible to run at the new IPL. We generate
- * the mask of elible soft ints to run by masking the ssir with:
+ * the mask of eligible soft ints to run by masking the ssir with:
*
* (ALPHA_ALL_SOFTINTS << ((ipl) << 1))
*
@@ -1155,7 +1155,7 @@ LEAF_NOPROFILE(_ufetch_8, 2)
ldq_u t0, 0(a1) /* load dest quad */
insbl a0, a1, a0 /* a0 = byte in target position */
mskbl t0, a1, t0 /* clear target byte in destination */
- or a0, t0, a0 /* or in byte to destionation */
+ or a0, t0, a0 /* or in byte to destination */
stq_u a0, 0(a1) /* *a1 = fetched byte! */
mov zero, v0
RET
@@ -1171,7 +1171,7 @@ LEAF_NOPROFILE(_ufetch_16, 2)
ldq_u t0, 0(a1) /* load dest quad */
inswl a0, a1, a0 /* a0 = short in target position */
mskwl t0, a1, t0 /* clear target short in destination */
- or a0, t0, a0 /* or in short to destionation */
+ or a0, t0, a0 /* or in short to destination */
stq_u a0, 0(a1) /* *a1 = fetched short! */
mov zero, v0
RET
Index: src/tests/dev/audio/audiotest.c
diff -u src/tests/dev/audio/audiotest.c:1.23 src/tests/dev/audio/audiotest.c:1.24
--- src/tests/dev/audio/audiotest.c:1.23 Sat Aug 6 18:26:42 2022
+++ src/tests/dev/audio/audiotest.c Sun Aug 7 10:12:19 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: audiotest.c,v 1.23 2022/08/06 18:26:42 andvar Exp $ */
+/* $NetBSD: audiotest.c,v 1.24 2022/08/07 10:12:19 andvar Exp $ */
/*
* Copyright (C) 2019 Tetsuya Isaki. All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: audiotest.c,v 1.23 2022/08/06 18:26:42 andvar Exp $");
+__RCSID("$NetBSD: audiotest.c,v 1.24 2022/08/07 10:12:19 andvar Exp $");
#include <errno.h>
#include <fcntl.h>
@@ -2308,7 +2308,7 @@ DEF(rdwr_fallback_RDWR) {
/*
* On full-duplex hardware, the second descriptor's readability/writability
- * is not depend on the first descriptor('s open mode).
+ * does not depend on the first descriptor's open mode.
* On half-duplex hardware, it depends on the first descriptor's open mode.
*/
void
Index: src/usr.bin/mail/format.c
diff -u src/usr.bin/mail/format.c:1.16 src/usr.bin/mail/format.c:1.17
--- src/usr.bin/mail/format.c:1.16 Mon Apr 19 17:49:28 2021
+++ src/usr.bin/mail/format.c Sun Aug 7 10:12:19 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: format.c,v 1.16 2021/04/19 17:49:28 christos Exp $ */
+/* $NetBSD: format.c,v 1.17 2022/08/07 10:12:19 andvar Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#ifndef __lint__
-__RCSID("$NetBSD: format.c,v 1.16 2021/04/19 17:49:28 christos Exp $");
+__RCSID("$NetBSD: format.c,v 1.17 2022/08/07 10:12:19 andvar Exp $");
#endif /* not __lint__ */
#include <time.h>
@@ -726,7 +726,7 @@ dateof(struct tm *tm, struct message *mp
* the "Date:" field.
*
* NOTE: The range for the time is 00:00 to 23:60 (to allow
- * for a leep second), but I have seen this violated making
+ * for a leap second), but I have seen this violated making
* strptime() fail, e.g.,
*
* Date: Tue, 24 Oct 2006 24:07:58 +0400