summaryrefslogtreecommitdiff
path: root/usr.bin/rdist
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2022-12-26 19:16:05 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2022-12-26 19:16:05 +0000
commitba88fc458a6035cb369aafc8667bade7da573b6b (patch)
tree394d099e791ff5398b95266a1d3bdf8c5e6b82bc /usr.bin/rdist
parent21387508cf29cf6c632d139f76994a8bbd51b838 (diff)
spelling fixes; from paul tagliamonte
amendments to his diff are noted on tech
Diffstat (limited to 'usr.bin/rdist')
-rw-r--r--usr.bin/rdist/child.c4
-rw-r--r--usr.bin/rdist/common.c4
-rw-r--r--usr.bin/rdist/config.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/rdist/child.c b/usr.bin/rdist/child.c
index 7bc06cea372..8f8153e5172 100644
--- a/usr.bin/rdist/child.c
+++ b/usr.bin/rdist/child.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: child.c,v 1.27 2019/06/28 13:35:03 deraadt Exp $ */
+/* $OpenBSD: child.c,v 1.28 2022/12/26 19:16:02 jmc Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -469,7 +469,7 @@ spawn(struct cmd *cmd, struct cmd *cmdlist)
/* Receive notification when the child exits */
(void) signal(SIGCHLD, reap);
- /* Settup the new child */
+ /* Setup the new child */
newchild.c_next = NULL;
newchild.c_name = childname;
newchild.c_readfd = fildes[PIPE_READ];
diff --git a/usr.bin/rdist/common.c b/usr.bin/rdist/common.c
index d0eae694720..8243dfe242a 100644
--- a/usr.bin/rdist/common.c
+++ b/usr.bin/rdist/common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: common.c,v 1.40 2019/06/28 13:35:03 deraadt Exp $ */
+/* $OpenBSD: common.c,v 1.41 2022/12/26 19:16:02 jmc Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -168,7 +168,7 @@ finish(void)
if (!setjmp_ok) {
#ifdef DEBUG_SETJMP
- error("attemping longjmp() without target");
+ error("attempting longjmp() without target");
abort();
#else
exit(1);
diff --git a/usr.bin/rdist/config.h b/usr.bin/rdist/config.h
index 648a2782e3d..eabb37effbe 100644
--- a/usr.bin/rdist/config.h
+++ b/usr.bin/rdist/config.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: config.h,v 1.13 2015/01/21 04:08:37 guenther Exp $ */
+/* $OpenBSD: config.h,v 1.14 2022/12/26 19:16:02 jmc Exp $ */
/*
* Copyright (c) 1993 Michael A. Cooper
@@ -58,7 +58,7 @@
/*
* Syslog levels. Define these to match the levels you want to log
* via syslog(). These are defined in <syslog.h>. If you don't want
- * a particuliar level logged _ever_, undefine it. What is logged is
+ * a particular level logged _ever_, undefine it. What is logged is
* usually controlled via command line options, so you normally should
* not need to undefine these.
*/