git: 0afd11d50f27 - main - strfmon: Fix typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Oct 2022 21:51:24 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=0afd11d50f277c24e80dd0228b122bcc53d559c0
commit 0afd11d50f277c24e80dd0228b122bcc53d559c0
Author: Jose Luis Duran <jlduran@gmail.com>
AuthorDate: 2022-10-13 14:49:21 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
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)