From: John Hodge Date: Sun, 27 Sep 2009 08:48:42 +0000 (+0800) Subject: Removed debug X-Git-Tag: rel0.06~445 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=72783d96c2d86024b92b55a718f06f33b3dc8ade;p=tpg%2Facess2.git Removed debug --- diff --git a/Kernel/vfs/fs/fat.c b/Kernel/vfs/fs/fat.c index c7f2d4de..bfae4058 100644 --- a/Kernel/vfs/fs/fat.c +++ b/Kernel/vfs/fs/fat.c @@ -344,13 +344,13 @@ Uint64 FAT_Read(tVFS_Node *node, Uint64 offset, Uint64 length, void *buffer) // Sanity Check offset if(offset > node->Size) { - Log("FAT_Read: Reading past EOF (%i > %i)", offset, node->Size); + //Log("FAT_Read: Reading past EOF (%i > %i)", offset, node->Size); return 0; } // Clamp Size if(offset + length > node->Size) { - Log("FAT_Read: Reading past EOF (%lli + %lli > %lli), clamped to %lli", - offset, length, node->Size, node->Size - offset); + //Log("FAT_Read: Reading past EOF (%lli + %lli > %lli), clamped to %lli", + // offset, length, node->Size, node->Size - offset); length = node->Size - offset; } diff --git a/Usermode/Applications/cat_src/main.c b/Usermode/Applications/cat_src/main.c index 98776283..a7f3ab32 100644 --- a/Usermode/Applications/cat_src/main.c +++ b/Usermode/Applications/cat_src/main.c @@ -18,7 +18,7 @@ int main(int argc, char *argv[]) return -1; } - printf("Contents of `%s'\n", argv[1]); + //printf("Contents of `%s'\n", argv[1]); fd = open(argv[1], OPENFLAG_READ); if(fd == -1) { printf("Unable to open '%s' for reading\n", argv[1]); @@ -27,7 +27,7 @@ int main(int argc, char *argv[]) do { num = read(fd, BUF_SIZE, buf); - printf("num = %i\n", num); + //printf("num = %i\n", num); buf[num] = '\0'; printf("%s", buf); } while(num == BUF_SIZE);