diff options
| author | andvar <andvar@NetBSD.org> | 2022-08-07 10:12:19 +0000 |
|---|---|---|
| committer | andvar <andvar@NetBSD.org> | 2022-08-07 10:12:19 +0000 |
| commit | 5e6b415fa3a3e4cafc7e5fea05ccf59a10201f29 (patch) | |
| tree | b9b4af2f3148d9268c50f3a44555ba11a3f459d7 | |
| parent | 70bda8ebb3f0ff0a37696b99cf516dafe5401970 (diff) | |
fix some typos and grammar in comments.
| -rw-r--r-- | sys/arch/alpha/alpha/locore.s | 12 | ||||
| -rw-r--r-- | tests/dev/audio/audiotest.c | 6 | ||||
| -rw-r--r-- | usr.bin/mail/format.c | 6 |
3 files changed, 12 insertions, 12 deletions
diff --git a/sys/arch/alpha/alpha/locore.s b/sys/arch/alpha/alpha/locore.s index 8c9676574c5..fec4ddc5b37 100644 --- a/sys/arch/alpha/alpha/locore.s +++ b/sys/arch/alpha/alpha/locore.s @@ -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 should be NESTED */ 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 diff --git a/tests/dev/audio/audiotest.c b/tests/dev/audio/audiotest.c index 965ba2aae88..d2561f8de3d 100644 --- a/tests/dev/audio/audiotest.c +++ b/tests/dev/audio/audiotest.c @@ -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 diff --git a/usr.bin/mail/format.c b/usr.bin/mail/format.c index 4969d38af72..fa6e8aa7cf9 100644 --- a/usr.bin/mail/format.c +++ b/usr.bin/mail/format.c @@ -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, int use_hl_date) * 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 |
