summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2021-12-10 20:36:02 +0000
committerandvar <andvar@NetBSD.org>2021-12-10 20:36:02 +0000
commitec0fc95dd18bb0e67dfbb1e4c92f0d5dcc5a8a43 (patch)
treecadd32f9c2c615b79b2b0b7fc1ae2de385601faf /tests
parent2c650dfce1d11c9d2b90557108902fac4c2f6baf (diff)
s/occured/occurred/ in comments, log messages and man pages.
Diffstat (limited to 'tests')
-rw-r--r--tests/dev/audio/audiotest.c6
-rw-r--r--tests/lib/libc/gen/t_siginfo.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/dev/audio/audiotest.c b/tests/dev/audio/audiotest.c
index 2bffebd2cff..898d651bccf 100644
--- a/tests/dev/audio/audiotest.c
+++ b/tests/dev/audio/audiotest.c
@@ -1,4 +1,4 @@
-/* $NetBSD: audiotest.c,v 1.17 2021/12/08 20:50:03 andvar Exp $ */
+/* $NetBSD: audiotest.c,v 1.18 2021/12/10 20:36:05 andvar Exp $ */
/*
* Copyright (C) 2019 Tetsuya Isaki. All rights reserved.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: audiotest.c,v 1.17 2021/12/08 20:50:03 andvar Exp $");
+__RCSID("$NetBSD: audiotest.c,v 1.18 2021/12/10 20:36:05 andvar Exp $");
#include <errno.h>
#include <fcntl.h>
@@ -6072,7 +6072,7 @@ DEF(AUDIO_GETENC_range)
memset(&expected, 0, sizeof(expected));
i = getenc_make_table(fd, expected);
- /* When error has occured, the next index should also occur error */
+ /* When error has occurred, the next index should also occur error */
ae.index = i + 1;
r = IOCTL(fd, AUDIO_GETENC, &ae, "index=%d", ae.index);
XP_SYS_NG(EINVAL, r);
diff --git a/tests/lib/libc/gen/t_siginfo.c b/tests/lib/libc/gen/t_siginfo.c
index b4b88a50e6b..295ac5fcc49 100644
--- a/tests/lib/libc/gen/t_siginfo.c
+++ b/tests/lib/libc/gen/t_siginfo.c
@@ -1,4 +1,4 @@
-/* $NetBSD: t_siginfo.c,v 1.45 2021/01/13 06:44:55 skrll Exp $ */
+/* $NetBSD: t_siginfo.c,v 1.46 2021/12/10 20:36:05 andvar Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -435,7 +435,7 @@ sigbus_action(int signo, siginfo_t *info, void *ptr)
#if defined(__i386__) || defined(__x86_64__)
atf_tc_expect_fail("x86 architecture does not correctly "
- "report the address where the unaligned access occured");
+ "report the address where the unaligned access occurred");
#endif
ATF_REQUIRE_EQ(info->si_addr, (volatile void *)addr);