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

View file

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