summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2001-09-06 09:26:28 +0000
committerphantom <phantom@FreeBSD.org>2001-09-06 09:26:28 +0000
commitef56905cb0f62080928172816dc0d147e5ccfcc4 (patch)
tree99c846fa956d82472999b4a99f9365112eb8a7b0 /lib/libc/stdlib
parentcb3a3b2a12665839afe16fac481ebb264144e362 (diff)
downloadFreeBSD-src-ef56905cb0f62080928172816dc0d147e5ccfcc4.zip
FreeBSD-src-ef56905cb0f62080928172816dc0d147e5ccfcc4.tar.gz
correctly wrap macros with { }
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/strfmon.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/stdlib/strfmon.c b/lib/libc/stdlib/strfmon.c
index 70d3962..206fa76 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) {
OpenPOWER on IntegriCloud