git: f281bc06864b - stable/13 - strfmon: Fix typo in constant
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Nov 2022 00:46:28 UTC
The branch stable/13 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=f281bc06864b2668e084be7ecfef7f40070cd30a
commit f281bc06864b2668e084be7ecfef7f40070cd30a
Author: Jose Luis Duran <jlduran@gmail.com>
AuthorDate: 2022-10-13 14:36:46 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-11-01 00:44:41 +0000
strfmon: Fix typo in constant
(cherry picked from commit d5980dff6b512fa9ba08d6af3ff365805fed44fd)
---
lib/libc/stdlib/strfmon.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/libc/stdlib/strfmon.c b/lib/libc/stdlib/strfmon.c
index 1b1dc28e6b6e..0847c71b1bcc 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