This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

Commit 5a17b7e3 authored by a1ex's avatar a1ex
Browse files

my_fprintf fix

--HG--
branch : unified
parent 36758044b5eb
...@@ -25,7 +25,7 @@ my_fprintf( ...@@ -25,7 +25,7 @@ my_fprintf(
char* buf = alloc_dma_memory(256); char* buf = alloc_dma_memory(256);
va_start( ap, fmt ); va_start( ap, fmt );
int len = vsnprintf( buf, sizeof(buf), fmt, ap ); int len = vsnprintf( buf, 256, fmt, ap );
va_end( ap ); va_end( ap );
FIO_WriteFile( file, buf, len ); FIO_WriteFile( file, buf, len );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment