diff --git a/lib/libc/stdlib/strfmon.c b/lib/libc/stdlib/strfmon.c index 70d39620d1ef..206fa76dd2df 100644 --- a/lib/libc/stdlib/strfmon.c +++ b/lib/libc/stdlib/strfmon.c @@ -297,10 +297,11 @@ strfmon(s, maxsize, format, va_alist) PRINT(' '); if (sign_posn == 0) { - if (flags & IS_NEGATIVE) + if (flags & IS_NEGATIVE) { PRINT('('); - else + } else { PRINT(' '); + } } if (cs_precedes == 1) {