From 3c87ce36d0614cd447954ba77482ff29d5c2e0b5 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 21 Dec 2013 17:35:58 +0800 Subject: [PATCH] Usermode/libc - Shut up stdio --- Usermode/Libraries/libc.so_src/stdio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Usermode/Libraries/libc.so_src/stdio.c b/Usermode/Libraries/libc.so_src/stdio.c index f252ec47..5b814447 100644 --- a/Usermode/Libraries/libc.so_src/stdio.c +++ b/Usermode/Libraries/libc.so_src/stdio.c @@ -627,15 +627,15 @@ size_t _fread_buffered(void *ptr, size_t size, FILE *fp) fp->BufferPos = rv; fp->BufferOfs = fp->Pos; - _SysDebug("%p: Buffered %i at %i", fp, rv, fp->Pos); + //_SysDebug("%p: Buffered %i at %i", fp, rv, fp->Pos); } size_t inner_ofs = fp->Pos - fp->BufferOfs; if(size > fp->BufferPos - inner_ofs) size = fp->BufferPos - inner_ofs; - _SysDebug("%p: Read %i from %i+%i", fp, size, - (int)fp->BufferOfs, inner_ofs); + //_SysDebug("%p: Read %i from %i+%i", fp, size, + // (int)fp->BufferOfs, inner_ofs); memcpy(ptr, fp->Buffer + inner_ofs, size); fp->Pos += size; return size; -- 2.20.1