From 9914452050835fa4524a71341142906b046f6459 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Wed, 27 Dec 2017 03:23:58 +0000 Subject: [PATCH] other: Fix several typos and minor errors - duplicate words - typos - references to old versions of FreeBSD Reviewed by: imp, benno --- UPDATING | 4 ++-- sbin/devfs/rule.c | 2 +- tests/sys/fifo/fifo_io.c | 2 +- tests/sys/kern/ptrace_test.c | 2 +- tools/regression/bpf/bpf_filter/bpf_test.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/UPDATING b/UPDATING index 3a0ade375863..799a1755e473 100644 --- a/UPDATING +++ b/UPDATING @@ -821,7 +821,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW: 20150623: An additional fix for the issue described in the 20150614 sendmail - entry below has been been committed in revision 284717. + entry below has been committed in revision 284717. 20150616: FreeBSD's old make (fmake) has been removed from the system. It is @@ -829,7 +829,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW: 20150615: The fix for the issue described in the 20150614 sendmail entry - below has been been committed in revision 284436. The work + below has been committed in revision 284436. The work around described in that entry is no longer needed unless the default setting is overridden by a confDH_PARAMETERS configuration setting of '5' or pointing to a 512 bit DH parameter file. diff --git a/sbin/devfs/rule.c b/sbin/devfs/rule.c index cd868b6f4dbf..0bfc7ffaf3c8 100644 --- a/sbin/devfs/rule.c +++ b/sbin/devfs/rule.c @@ -267,7 +267,7 @@ ruleset_main(int ac, char **av) * differs from the other rulespec_in*() routines in that it also * calls ioctl() for the rules, since it is impractical (and not very * useful) to return a list (or array) of rules, just so the caller - * can call call ioctl() for each of them. + * can call ioctl() for each of them. */ static void rulespec_infp(FILE *fp, unsigned long request, devfs_rsnum rsnum) diff --git a/tests/sys/fifo/fifo_io.c b/tests/sys/fifo/fifo_io.c index 93d4be7e2f17..667bb7bb6dce 100644 --- a/tests/sys/fifo/fifo_io.c +++ b/tests/sys/fifo/fifo_io.c @@ -1178,7 +1178,7 @@ test_events_write_read_byte(void) } /* - * Read the byte from the reader_fd, and now confirm that that fifo + * Read the byte from the reader_fd, and now confirm that the fifo * becomes unreadable. */ len = read(reader_fd, &ch, sizeof(ch)); diff --git a/tests/sys/kern/ptrace_test.c b/tests/sys/kern/ptrace_test.c index 2d8524317f31..694a3b4044eb 100644 --- a/tests/sys/kern/ptrace_test.c +++ b/tests/sys/kern/ptrace_test.c @@ -2958,7 +2958,7 @@ ATF_TC_BODY(ptrace__PT_CONTINUE_with_sigmask, tc) /* * Verify that if ptrace stops due to a signal but continues with * a different signal that the new signal is routed to a thread - * that can accept it, and that that thread is awakened by the signal + * that can accept it, and that the thread is awakened by the signal * in a timely manner. */ ATF_TC_WITHOUT_HEAD(ptrace__PT_CONTINUE_with_signal_thread_sigmask); diff --git a/tools/regression/bpf/bpf_filter/bpf_test.c b/tools/regression/bpf/bpf_filter/bpf_test.c index 9ed4828ea3e2..b62ca774d21d 100644 --- a/tools/regression/bpf/bpf_filter/bpf_test.c +++ b/tools/regression/bpf/bpf_filter/bpf_test.c @@ -149,7 +149,7 @@ bpf_validate(const struct bpf_insn *f, int len) if (!BPF_VALIDATE_CODE(p->code)) return (0); /* - * Check that that jumps are forward, and within + * Check that jumps are forward, and within * the code block. */ if (BPF_CLASS(p->code) == BPF_JMP) {