We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7125e7b commit 327fc7dCopy full SHA for 327fc7d
src/klibc/kstdio.c
@@ -51,7 +51,7 @@ RTM_EXPORT(rt_snprintf);
51
*/
52
int rt_vsprintf(char *buf, const char *format, va_list arg_ptr)
53
{
54
- return rt_vsnprintf(buf, (rt_size_t) - 1, format, arg_ptr);
+ return rt_vsnprintf(buf, INT32_MAX, format, arg_ptr);
55
}
56
RTM_EXPORT(rt_vsprintf);
57
0 commit comments