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/stdlib/atexit.c | 4 ++-- src/lib/libc/stdlib/div.c | 4 ++-- src/lib/libc/stdlib/gcvt.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/lib/libc/stdlib') 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