From 59c56ac72dd51564ff32761baab4a9a5698ef32d Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Sat, 21 Jul 2018 11:16:29 +0200 Subject: [PATCH] mescc: fwrite: Increase debug tracing threshold. * lib/libc+tcc.c (fwrite): Increase debug tracing threshold. --- lib/libc+tcc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc+tcc.c b/lib/libc+tcc.c index 3c4f8650..9ae88558 100644 --- a/lib/libc+tcc.c +++ b/lib/libc+tcc.c @@ -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"); } -- 2.28.0