From a7ce2961457de6b73740a70f305e1ecbc80a6481 Mon Sep 17 00:00:00 2001
From: Murai Takashi <tmurai01@gmail.com>
Date: Sun, 8 Dec 2013 20:06:40 +0900
Subject: [PATCH 5/5] Fix Incorrectly initialize
---
.../libroot/posix/glibc/stdio-common/printf_size.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/system/libroot/posix/glibc/stdio-common/printf_size.c b/src/system/libroot/posix/glibc/stdio-common/printf_size.c
index 95b7aa3..db0f6d8 100644
a
|
b
|
printf_size (FILE *fp, const struct printf_info *info, const void *const *args)
|
183 | 183 | |
184 | 184 | if (special) |
185 | 185 | { |
186 | | int width = info->prec > width ? info->prec : width; |
| 186 | int width = info->prec > width ? info->prec : info->width; |
187 | 187 | |
188 | 188 | if (negative || info->showsign || info->space) |
189 | 189 | --width; |