From f794912aa36e447177a52816588be00809c3190a Mon Sep 17 00:00:00 2001 From: verhaegs Date: Fri, 28 Oct 2011 20:00:37 +0000 Subject: [PATCH] compiler/clib/fwrite.c: Some debug output git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@42105 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- compiler/clib/fwrite.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/compiler/clib/fwrite.c b/compiler/clib/fwrite.c index 73341dba09..d718b72635 100644 --- a/compiler/clib/fwrite.c +++ b/compiler/clib/fwrite.c @@ -10,6 +10,7 @@ #include #include #include +#define DEBUG 0 #include #include "__errno.h" #include "__stdio.h" @@ -48,6 +49,10 @@ { size_t cnt; + D(bug("[fwrite]: buf=%p, size=%d, nblocks=%d, stream=%p\n", + buf, size, nblocks, stream + )); + fdesc *fdesc = __getfdesc(stream->fd); if (!fdesc) -- 2.11.4.GIT