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
This commit is contained in:
Jose Luis Duran 2022-10-13 11:49:21 -03:00 committed by Konstantin Belousov
parent d5980dff6b
commit 0afd11d50f

View File

@ -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)