From 2811b70e6ccb05839923c4548fbcf79f1fbe1376 Mon Sep 17 00:00:00 2001 From: jmc Date: Tue, 27 Dec 2022 07:44:56 +0000 Subject: [PATCH] spelling fixes; from paul tagliamonte --- include/arpa/nameser.h | 6 +++--- include/rpc/clnt.h | 8 ++++---- include/rpc/xdr.h | 6 +++--- include/rpcsvc/yp_prot.h | 4 ++-- include/siphash.h | 4 ++-- include/tib.h | 4 ++-- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/include/arpa/nameser.h b/include/arpa/nameser.h index ead11b71061..60ca73f6a5d 100644 --- a/include/arpa/nameser.h +++ b/include/arpa/nameser.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nameser.h,v 1.14 2018/03/16 12:31:09 mpi Exp $ */ +/* $OpenBSD: nameser.h,v 1.15 2022/12/27 07:44:56 jmc Exp $ */ /* * ++Copyright++ 1983, 1989, 1993 @@ -285,7 +285,7 @@ typedef struct { /* fields in third byte */ unsigned qr: 1; /* response flag */ unsigned opcode: 4; /* purpose of message */ - unsigned aa: 1; /* authoritive answer */ + unsigned aa: 1; /* authoritative answer */ unsigned tc: 1; /* truncated message */ unsigned rd: 1; /* recursion desired */ /* fields in fourth byte */ @@ -299,7 +299,7 @@ typedef struct { /* fields in third byte */ unsigned rd :1; /* recursion desired */ unsigned tc :1; /* truncated message */ - unsigned aa :1; /* authoritive answer */ + unsigned aa :1; /* authoritative answer */ unsigned opcode :4; /* purpose of message */ unsigned qr :1; /* response flag */ /* fields in fourth byte */ diff --git a/include/rpc/clnt.h b/include/rpc/clnt.h index f7b3e542c1b..86e2246c2b2 100644 --- a/include/rpc/clnt.h +++ b/include/rpc/clnt.h @@ -1,4 +1,4 @@ -/* $OpenBSD: clnt.h,v 1.13 2022/07/15 17:33:28 deraadt Exp $ */ +/* $OpenBSD: clnt.h,v 1.14 2022/12/27 07:44:56 jmc Exp $ */ /* $NetBSD: clnt.h,v 1.6 1995/04/29 05:27:58 cgd Exp $ */ /* @@ -96,8 +96,8 @@ struct rpc_err { int RE_errno; /* related system error */ enum auth_stat RE_why; /* why the auth error occurred */ struct { - u_int32_t low; /* lowest verion supported */ - u_int32_t high; /* highest verion supported */ + u_int32_t low; /* lowest version supported */ + u_int32_t high; /* highest version supported */ } RE_vers; struct { /* maybe meaningful if RPC_FAILED */ int32_t s1; @@ -226,7 +226,7 @@ typedef struct __rpc_client { /* - * RPCTEST is a test program which is accessable on every rpc + * RPCTEST is a test program which is accessible on every rpc * transport/port. It is used for testing, performance evaluation, * and network administration. */ diff --git a/include/rpc/xdr.h b/include/rpc/xdr.h index 126ecec54f9..baff9824874 100644 --- a/include/rpc/xdr.h +++ b/include/rpc/xdr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: xdr.h,v 1.13 2022/02/14 03:38:59 guenther Exp $ */ +/* $OpenBSD: xdr.h,v 1.14 2022/12/27 07:44:56 jmc Exp $ */ /* $NetBSD: xdr.h,v 1.7 1995/04/29 05:28:06 cgd Exp $ */ /* @@ -94,8 +94,8 @@ enum xdr_op { /* * The XDR handle. * Contains operation which is being applied to the stream, - * an operations vector for the paticular implementation (e.g. see xdr_mem.c), - * and two private fields for the use of the particular impelementation. + * an operations vector for the particular implementation (e.g. see xdr_mem.c), + * and two private fields for the use of the particular implementation. */ typedef struct __rpc_xdr { enum xdr_op x_op; /* operation; fast additional param */ diff --git a/include/rpcsvc/yp_prot.h b/include/rpcsvc/yp_prot.h index a8b1c793552..535953d777b 100644 --- a/include/rpcsvc/yp_prot.h +++ b/include/rpcsvc/yp_prot.h @@ -1,4 +1,4 @@ -/* $OpenBSD: yp_prot.h,v 1.11 2022/01/28 04:59:15 guenther Exp $ */ +/* $OpenBSD: yp_prot.h,v 1.12 2022/12/27 07:44:56 jmc Exp $ */ /* $NetBSD: yp_prot.h,v 1.6 1995/07/14 21:10:58 christos Exp $ */ /* @@ -277,7 +277,7 @@ struct yppushresp_xfr { #define YPPUSH_AGE ((unsigned long)2) /* Master's version not newer */ #define YPPUSH_NOMAP ((unsigned long)-1) /* Can't find server for map */ #define YPPUSH_NODOM ((unsigned long)-2) /* Domain not supported */ -#define YPPUSH_RSRC ((unsigned long)-3) /* Local resouce alloc failure */ +#define YPPUSH_RSRC ((unsigned long)-3) /* Local resource alloc failure */ #define YPPUSH_RPC ((unsigned long)-4) /* RPC failure talking to server */ #define YPPUSH_MADDR ((unsigned long)-5) /* Can't get master address */ #define YPPUSH_YPERR ((unsigned long)-6) /* YP server/map db error */ diff --git a/include/siphash.h b/include/siphash.h index 7a5990c9395..471c965690c 100644 --- a/include/siphash.h +++ b/include/siphash.h @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $OpenBSD: siphash.h,v 1.3 2015/02/20 11:51:03 tedu Exp $ + * $OpenBSD: siphash.h,v 1.4 2022/12/27 07:44:56 jmc Exp $ */ /* @@ -34,7 +34,7 @@ * optimized for speed on short messages returning a 64bit hash/digest value. * * The number of rounds is defined during the initialization: - * SipHash24_Init() for the fast and resonable strong version + * SipHash24_Init() for the fast and reasonable strong version * SipHash48_Init() for the strong version (half as fast) * * struct SIPHASH_CTX ctx; diff --git a/include/tib.h b/include/tib.h index d901b54aa23..97dc08cdc56 100644 --- a/include/tib.h +++ b/include/tib.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tib.h,v 1.8 2020/07/14 16:48:13 kettenis Exp $ */ +/* $OpenBSD: tib.h,v 1.9 2022/12/27 07:44:56 jmc Exp $ */ /* * Copyright (c) 2011,2014 Philip Guenther * @@ -54,7 +54,7 @@ * Short-hand for TCB_TO_TIB(TCB_GET()) * * TIB_EXTRA_ALIGN - * On TLS varaint 2 archs, what alignment is sufficient + * On TLS variant 2 archs, what alignment is sufficient * for the extra space that will be used for struct pthread? * * The following functions are provided by either ld.so (dynamic) or -- 2.20.1