From nobody Tue Oct 25 21:51:24 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mxly45bmWz4g5lt; Tue, 25 Oct 2022 21:51:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mxly453Hjz3g85; Tue, 25 Oct 2022 21:51:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666734684; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QpovjvAEbNGbord2bvgus5UCiuTeykN4QKfEebyUqKo=; b=CWxDEjOmMU7EfzGBxUkPL8+DB3Mt+ASCRuAUDt0JxRzJtfvocKv59yFdKUhRyV7eh1xyO4 ZLaospODSVO7xWzSbJyesfivp08fFD25cpGULhIAqqba6ofkTprkJ/bGbt/kj3imcuMgZr YUtMv+TQPInW7zHLklS/cCyfUIs9MvQwLZo0pkMFMJtw5nMSQpvVwOkv/1wMr+sq7Xebna CpOFznXyPxYdT82FDhfx09EdD94k+piknXXoQf+1TXl80YNelIURNmHy7Phyn9vdsxQMt+ AlU0oPyI7Lr5e9ieHwbezDFH/4w/7c4h/mTq0yixqC/83nYmHJ81hdnA7NnypA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Mxly43xnPztRH; Tue, 25 Oct 2022 21:51:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29PLpO2E085924; Tue, 25 Oct 2022 21:51:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29PLpO4a085923; Tue, 25 Oct 2022 21:51:24 GMT (envelope-from git) Date: Tue, 25 Oct 2022 21:51:24 GMT Message-Id: <202210252151.29PLpO4a085923@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 0afd11d50f27 - main - strfmon: Fix typos in source code comments List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0afd11d50f277c24e80dd0228b122bcc53d559c0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666734684; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QpovjvAEbNGbord2bvgus5UCiuTeykN4QKfEebyUqKo=; b=dczSTzuJmfGgnCWcoMzgWlSX4UzUA18Uj8bw0IbkXqVyrrkqWdsazI+oktK0DgeaNgi58H gtKldxieswxqaYe8ITtNyRI68C4YIJSQzN6lO8kvIXTaTIlIJA9Wbk5EYuVQzfl1Fc7Rw+ lKOXPDoaaJU5sJnDGzxyIqJzDSY/1gGA3AmGBHd+7c2lXg8YUgalI+kiRx/HIEvAWqouQD pKj6jyovAuM6kJWDfyh1pkagHdJ2Pv08ODwXrWuk6FkI3CFzw5n/Xabgrjj848RVENKlrZ W8s1ZDdP7Yy8RANkWU0/hEjBTWgtsnb3clF3hxzyOvGs5AxcEn5SmQqhISSd+A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666734684; a=rsa-sha256; cv=none; b=Q60FJfbs1F8yB9VnejaS7Z9tsW+LAAXO/7yGmPNfHeI7UXuXtzjeooeMO9j6rdDAY1wQXJ Ze6qA52wIjC2KwM7ECzKzJH3VYo2WBgHmrbCLgyk8bI5d23i8EEafe4KaFfnzinTPVusdj x1omP6veAgSNQ2IVBLNynKxDcBqoxxBQkGOnV61680IGSD7J+fpkRnZxWiq7RmkBc60yIP Umv2wztlSffIKIsBc2+RPEZYXnGqNtxQ0MXg/3kWmL/XrJqLiFD1bnevUrZEUGqvUZ9DeL xzMV1BHwdXWjrFHmuRhP5rCZPTAm3c2yjzW+tg25LiCrJSML4g1PJvX5W7eaPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=0afd11d50f277c24e80dd0228b122bcc53d559c0 commit 0afd11d50f277c24e80dd0228b122bcc53d559c0 Author: Jose Luis Duran AuthorDate: 2022-10-13 14:49:21 +0000 Commit: Konstantin Belousov CommitDate: 2022-10-25 21:40:16 +0000 strfmon: Fix typos in source code comments s/defult/default s/internaltion/international Reviewed by: kib PR: 267282 Github PR: #619 MFC after: 1 week --- lib/libc/stdlib/strfmon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/stdlib/strfmon.c b/lib/libc/stdlib/strfmon.c index 1370d9e415a4..fbb1f79a87d5 100644 --- a/lib/libc/stdlib/strfmon.c +++ b/lib/libc/stdlib/strfmon.c @@ -224,7 +224,7 @@ vstrfmon_l(char * __restrict s, size_t maxsize, locale_t loc, /* Conversion Characters */ switch (*fmt++) { - case 'i': /* use internaltion currency format */ + case 'i': /* use international currency format */ flags |= USE_INTL_CURRENCY; break; case 'n': /* use national currency format */ @@ -439,7 +439,7 @@ __setup_vars(int flags, char *cs_precedes, char *sep_by_space, *signstr = lc->positive_sign; } - /* Set defult values for unspecified information. */ + /* Set default values for unspecified information. */ if (*cs_precedes != 0) *cs_precedes = 1; if (*sep_by_space == CHAR_MAX)