summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/stdio/_format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdio/_format.h b/src/stdio/_format.h
index 5930fdb6..f209f891 100644
--- a/src/stdio/_format.h
+++ b/src/stdio/_format.h
@@ -9,7 +9,7 @@
#include "_safety.h"
#define UNDEFINED_FMT(__conv, __fmt, ...) do { \
- char __buf[128]; \
+ char __buf[BUFSIZ]; \
snprintf(__buf, sizeof(__buf), "In call to %s() with format string \"%s\": Invalid conversion specification: ", __conv->func, __conv->fmt); \
__undefined("%s" __fmt, __buf, __VA_ARGS__); \
} while (0)