diff options
| author | Jose Luis Duran <jlduran@gmail.com> | 2022-10-13 14:36:46 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2022-10-25 21:40:16 +0000 |
| commit | d5980dff6b512fa9ba08d6af3ff365805fed44fd (patch) | |
| tree | ef46118687d1e7441c822d8d0d4c9eaf7b466c2c | |
| parent | f81dfea2912dbc0560587ab534a3d8549dbbb95b (diff) | |
strfmon: Fix typo in constant
s/SUPRESS_CURR_SYMBOL/SUPPRESS_CURR_SYMBOL
Reviewed by: kib
PR: 267282
Github PR: #619
MFC after: 1 week
| -rw-r--r-- | lib/libc/stdlib/strfmon.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdlib/strfmon.c b/lib/libc/stdlib/strfmon.c index 4bedf1950c8a..1370d9e415a4 100644 --- a/lib/libc/stdlib/strfmon.c +++ b/lib/libc/stdlib/strfmon.c @@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$"); #define SIGN_POSN_USED 0x02 /* '+' or '(' usage flag */ #define LOCALE_POSN 0x04 /* use locale defined +/- (default) */ #define PARENTH_POSN 0x08 /* enclose negative amount in () */ -#define SUPRESS_CURR_SYMBOL 0x10 /* suppress the currency from output */ +#define SUPPRESS_CURR_SYMBOL 0x10 /* suppress the currency from output */ #define LEFT_JUSTIFY 0x20 /* left justify */ #define USE_INTL_CURRENCY 0x40 /* use international currency symbol */ #define IS_NEGATIVE 0x80 /* is argument value negative ? */ @@ -182,7 +182,7 @@ vstrfmon_l(char * __restrict s, size_t maxsize, locale_t loc, flags |= (SIGN_POSN_USED|PARENTH_POSN); continue; case '!': /* suppress currency symbol */ - flags |= SUPRESS_CURR_SYMBOL; + flags |= SUPPRESS_CURR_SYMBOL; continue; case '-': /* alignment (left) */ flags |= LEFT_JUSTIFY; @@ -323,7 +323,7 @@ vstrfmon_l(char * __restrict s, size_t maxsize, locale_t loc, PRINT(' '); } - if (!(flags & SUPRESS_CURR_SYMBOL)) { + if (!(flags & SUPPRESS_CURR_SYMBOL)) { PRINTS(currency_symbol); if (sign_posn == 4) { @@ -347,7 +347,7 @@ vstrfmon_l(char * __restrict s, size_t maxsize, locale_t loc, PRINTS(signstr); } - if (!(flags & SUPRESS_CURR_SYMBOL)) { + if (!(flags & SUPPRESS_CURR_SYMBOL)) { if ((sign_posn == 3 && sep_by_space == 2) || (sep_by_space == 1 && (sign_posn == 0 |
