mescc: fwrite: Increase debug tracing threshold.

* lib/libc+tcc.c (fwrite): Increase debug tracing threshold.
This commit is contained in:
Jan Nieuwenhuizen 2018-07-21 11:16:29 +02:00
parent 58ca3ab6c0
commit 59c56ac72d
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ fread (void *data, size_t size, size_t count, FILE *stream)
size_t
fwrite (void const *data, size_t size, size_t count, FILE *stream)
{
if (__mes_debug ())
if (__mes_debug () > 1)
{
eputs ("fwrite "); eputs (itoa ((int)stream));
eputs (" "); eputs (itoa (size)); eputs ("\n");
@ -203,7 +203,7 @@ fwrite (void const *data, size_t size, size_t count, FILE *stream)
return 0;
int bytes = write ((int)stream, data, size * count);
if (__mes_debug ())
if (__mes_debug () > 2)
{
eputs (" => "); eputs (itoa (bytes)); eputs ("\n");
}