summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/vfprintf.c')
-rw-r--r--lib/libc/stdio/vfprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c
index 06d5e94..45e7c7f 100644
--- a/lib/libc/stdio/vfprintf.c
+++ b/lib/libc/stdio/vfprintf.c
@@ -908,6 +908,7 @@ fp_common:
} else
cp = (ch >= 'a') ? "inf" : "INF";
size = 3;
+ flags &= ~ZEROPAD;
break;
}
flags |= FPT;
OpenPOWER on IntegriCloud