summaryrefslogtreecommitdiff
path: root/lib/printf/vfprintf.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2021-03-23 14:48:58 -0400
committerMark Stapp <mjs@voltanet.io>2021-03-23 14:48:58 -0400
commitff7c213c650d7fe40bd3b568b0974462c821b271 (patch)
tree33e6c94c1a0811cb6edf8e1b258ffaef879e59da /lib/printf/vfprintf.c
parent7c94e3d606f6bc75c93361fb59cdeb59aadc866c (diff)
lib: enlarge the local buffer for printfrr extension tokens
Make the local buffer offered to printfrr extension tokens bigger; existing size wasn't quite enough for some of the more elaborate struct prefix types. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'lib/printf/vfprintf.c')
-rw-r--r--lib/printf/vfprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/printf/vfprintf.c b/lib/printf/vfprintf.c
index a0634cde4b..8c7a8a58c4 100644
--- a/lib/printf/vfprintf.c
+++ b/lib/printf/vfprintf.c
@@ -138,7 +138,7 @@ __wcsconv(wchar_t *wcsarg, int prec)
* write a uintmax_t in octal (plus one byte).
*/
#if UINTMAX_MAX <= UINT64_MAX
-#define BUF 64
+#define BUF 80
#else
#error "BUF must be large enough to format a uintmax_t"
#endif