Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/mail fix some typos and grammar in comments.
details: https://anonhg.NetBSD.org/src/rev/22cc1113f326
branches: trunk
changeset: 368835:22cc1113f326
user: andvar <andvar%NetBSD.org@localhost>
date: Sun Aug 07 10:12:19 2022 +0000
description:
fix some typos and grammar in comments.
diffstat:
sys/arch/alpha/alpha/locore.s | 12 ++++++------
tests/dev/audio/audiotest.c | 6 +++---
usr.bin/mail/format.c | 6 +++---
3 files changed, 12 insertions(+), 12 deletions(-)
diffs (108 lines):
diff -r bcf96b3306fc -r 22cc1113f326 sys/arch/alpha/alpha/locore.s
--- a/sys/arch/alpha/alpha/locore.s Sun Aug 07 09:51:00 2022 +0000
+++ b/sys/arch/alpha/alpha/locore.s Sun Aug 07 10:12:19 2022 +0000
@@ -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 @@
* 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 @@
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 @@
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 @@
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
diff -r bcf96b3306fc -r 22cc1113f326 tests/dev/audio/audiotest.c
--- a/tests/dev/audio/audiotest.c Sun Aug 07 09:51:00 2022 +0000
+++ b/tests/dev/audio/audiotest.c Sun Aug 07 10:12:19 2022 +0000
@@ -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 @@
/*
* 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
diff -r bcf96b3306fc -r 22cc1113f326 usr.bin/mail/format.c
--- a/usr.bin/mail/format.c Sun Aug 07 09:51:00 2022 +0000
+++ b/usr.bin/mail/format.c Sun Aug 07 10:12:19 2022 +0000
@@ -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 @@
* 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
Home |
Main Index |
Thread Index |
Old Index