summaryrefslogtreecommitdiff
path: root/stdio-common/printf_fp.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/printf_fp.c')
-rw-r--r--stdio-common/printf_fp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/printf_fp.c b/stdio-common/printf_fp.c
index 8cff7a4d66..34fe918237 100644
--- a/stdio-common/printf_fp.c
+++ b/stdio-common/printf_fp.c
@@ -336,7 +336,7 @@ __printf_fp (FILE *fp,
if (special)
{
- int width = info->prec > info->width ? info->prec : info->width;
+ int width = info->width;
if (is_neg || info->showsign || info->space)
--width;