git: 96ef02d4a3ed - stable/13 - strfmon: Fix typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Nov 2022 00:46:29 UTC
The branch stable/13 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=96ef02d4a3ed6bc6a49c49b31c2cf8914f5b48a8
commit 96ef02d4a3ed6bc6a49c49b31c2cf8914f5b48a8
Author: Jose Luis Duran <jlduran@gmail.com>
AuthorDate: 2022-10-13 14:49:21 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-11-01 00:44:41 +0000
strfmon: Fix typos in source code comments
(cherry picked from commit 0afd11d50f277c24e80dd0228b122bcc53d559c0)
---
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 0847c71b1bcc..db51325bff9e 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)