From ddf0e80229d300fb3367dd1d2ca494b2baf147a0 Mon Sep 17 00:00:00 2001 From: jmc <> Date: Tue, 27 Dec 2022 17:10:06 +0000 Subject: spelling fixes; from paul tagliamonte any changes not taken noted on tech, but chiefly here i did not take the cancelation - cancellation changes; --- src/lib/libc/net/inet_net_pton.c | 4 ++-- src/lib/libc/net/res_comp.c | 4 ++-- src/lib/libc/net/res_random.c | 4 ++-- src/lib/libc/net/rthdr.c | 4 ++-- src/lib/libc/net/ruserok.c | 2 +- src/lib/libc/stdlib/atexit.c | 4 ++-- src/lib/libc/stdlib/div.c | 4 ++-- src/lib/libc/stdlib/gcvt.c | 4 ++-- 8 files changed, 15 insertions(+), 15 deletions(-) (limited to 'src') diff --git a/src/lib/libc/net/inet_net_pton.c b/src/lib/libc/net/inet_net_pton.c index f9c6e7334b..c5baa4d6f4 100644 --- a/src/lib/libc/net/inet_net_pton.c +++ b/src/lib/libc/net/inet_net_pton.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inet_net_pton.c,v 1.13 2022/04/13 22:17:33 millert Exp $ */ +/* $OpenBSD: inet_net_pton.c,v 1.14 2022/12/27 17:10:06 jmc Exp $ */ /* * Copyright (c) 2012 by Gilles Chehade @@ -161,7 +161,7 @@ inet_net_pton_ipv4(const char *src, u_char *dst, size_t size) goto enoent; } - /* Firey death and destruction unless we prefetched EOS. */ + /* Fiery death and destruction unless we prefetched EOS. */ if (ch != '\0') goto enoent; diff --git a/src/lib/libc/net/res_comp.c b/src/lib/libc/net/res_comp.c index 41a1c9771a..7ccd44ad8d 100644 --- a/src/lib/libc/net/res_comp.c +++ b/src/lib/libc/net/res_comp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: res_comp.c,v 1.21 2022/11/16 18:30:12 florian Exp $ */ +/* $OpenBSD: res_comp.c,v 1.22 2022/12/27 17:10:06 jmc Exp $ */ /* * ++Copyright++ 1985, 1993 @@ -149,7 +149,7 @@ DEF_WEAK(dn_expand); * 'length' is the size of the array pointed to by 'comp_dn'. * 'dnptrs' is a list of pointers to previous compressed names. dnptrs[0] * is a pointer to the beginning of the message. The list ends with NULL. - * 'lastdnptr' is a pointer to the end of the arrary pointed to + * 'lastdnptr' is a pointer to the end of the array pointed to * by 'dnptrs'. Side effect is to update the list of pointers for * labels inserted into the message as we compress the name. * If 'dnptr' is NULL, we don't try to compress names. If 'lastdnptr' diff --git a/src/lib/libc/net/res_random.c b/src/lib/libc/net/res_random.c index b7036815c9..3f642a138c 100644 --- a/src/lib/libc/net/res_random.c +++ b/src/lib/libc/net/res_random.c @@ -1,4 +1,4 @@ -/* $OpenBSD: res_random.c,v 1.25 2020/07/06 13:33:06 pirofti Exp $ */ +/* $OpenBSD: res_random.c,v 1.26 2022/12/27 17:10:06 jmc Exp $ */ /* * Copyright 1997 Niels Provos @@ -70,7 +70,7 @@ #include "thread_private.h" -#define RU_OUT 180 /* Time after wich will be reseeded */ +#define RU_OUT 180 /* Time after which will be reseeded */ #define RU_MAX 30000 /* Uniq cycle, avoid blackjack prediction */ #define RU_GEN 2 /* Starting generator */ #define RU_N 32749 /* RU_N-1 = 2*2*3*2729 */ diff --git a/src/lib/libc/net/rthdr.c b/src/lib/libc/net/rthdr.c index 934a55155a..5ffb13fc87 100644 --- a/src/lib/libc/net/rthdr.c +++ b/src/lib/libc/net/rthdr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rthdr.c,v 1.12 2016/09/21 04:38:56 guenther Exp $ */ +/* $OpenBSD: rthdr.c,v 1.13 2022/12/27 17:10:06 jmc Exp $ */ /* $KAME: rthdr.c,v 1.22 2006/02/09 08:18:58 keiichi Exp $ */ /* @@ -50,7 +50,7 @@ inet6_rth_space(int type, int segments) case IPV6_RTHDR_TYPE_0: return (((segments * 2) + 1) << 3); default: - return (0); /* type not suppported */ + return (0); /* type not supported */ } } DEF_WEAK(inet6_rth_space); diff --git a/src/lib/libc/net/ruserok.c b/src/lib/libc/net/ruserok.c index a399c013e2..291c702060 100644 --- a/src/lib/libc/net/ruserok.c +++ b/src/lib/libc/net/ruserok.c @@ -384,7 +384,7 @@ __gethostloop(struct sockaddr *raddr, socklen_t salen) } /* - * either the DNS adminstrator has made a configuration + * either the DNS administrator has made a configuration * mistake, or someone has attempted to spoof us */ freeaddrinfo(res); diff --git a/src/lib/libc/stdlib/atexit.c b/src/lib/libc/stdlib/atexit.c index 81d2dc2476..3334617b65 100644 --- a/src/lib/libc/stdlib/atexit.c +++ b/src/lib/libc/stdlib/atexit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atexit.c,v 1.28 2022/10/22 15:21:25 deraadt Exp $ */ +/* $OpenBSD: atexit.c,v 1.29 2022/12/27 17:10:06 jmc Exp $ */ /* * Copyright (c) 2002 Daniel Hartmeier * All rights reserved. @@ -112,7 +112,7 @@ unlock: DEF_STRONG(__cxa_atexit); /* - * Copy of atexit() used by libc and anything staticly linked into the + * Copy of atexit() used by libc and anything statically linked into the * executable. This passes NULL for the dso, so the callbacks are only * invoked by exit() and not dlclose() */ diff --git a/src/lib/libc/stdlib/div.c b/src/lib/libc/stdlib/div.c index beaa428c7a..5e6164f0bb 100644 --- a/src/lib/libc/stdlib/div.c +++ b/src/lib/libc/stdlib/div.c @@ -1,4 +1,4 @@ -/* $OpenBSD: div.c,v 1.6 2015/09/13 08:31:47 guenther Exp $ */ +/* $OpenBSD: div.c,v 1.7 2022/12/27 17:10:06 jmc Exp $ */ /* * Copyright (c) 1990 Regents of the University of California. * All rights reserved. @@ -46,7 +46,7 @@ div(int num, int denom) * words, we should always truncate the quotient towards * 0, never -infinity. * - * Machine division and remainer may work either way when + * Machine division and remainder may work either way when * one or both of n or d is negative. If only one is * negative and r.quot has been truncated towards -inf, * r.rem will have the same sign as denom and the opposite diff --git a/src/lib/libc/stdlib/gcvt.c b/src/lib/libc/stdlib/gcvt.c index f9528e7e7a..d3ab1b0415 100644 --- a/src/lib/libc/stdlib/gcvt.c +++ b/src/lib/libc/stdlib/gcvt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gcvt.c,v 1.14 2019/01/25 00:19:25 millert Exp $ */ +/* $OpenBSD: gcvt.c,v 1.15 2022/12/27 17:10:06 jmc Exp $ */ /* * Copyright (c) 2002, 2003, 2006, 2010 @@ -61,7 +61,7 @@ gcvt(double value, int ndigit, char *buf) if (sign) *dst++ = '-'; - /* Match printf(3) behavior for exponential vs. regular fomatting. */ + /* Match printf(3) behavior for exponential vs. regular formatting. */ if (decpt <= -4 || decpt > ndigit) { /* exponential format (e.g. 1.2345e+13) */ if (--decpt < 0) { -- cgit v1.2.3-55-g6feb