Commenting for new function
[tpg/acess2.git] / Kernel / drvutil.c
index 281ee38..12f21cd 100644 (file)
@@ -3,8 +3,8 @@
  * Common Driver/Filesystem Helper Functions
  */
 #define DEBUG  0
-#include <common.h>
-#include <drvutil.h>
+#include <acess.h>
+#include <tpl_drv_disk.h>
 
 // === CODE ===
 Uint64 DrvUtil_ReadBlock(Uint64 Start, Uint64 Length, void *Buffer,
@@ -130,7 +130,7 @@ Uint64 DrvUtil_WriteBlock(Uint64 Start, Uint64 Length, void *Buffer,
        // Read central blocks
        if(num)
        {
-               LOG("Reading %i blocks", num);
+               LOG("Writing %i blocks", num);
                ret = WriteBlocks(block, num, Buffer, Argument);
                if(ret != num ) {
                        LEAVE('X', leading + ret * BlockSize);
@@ -141,7 +141,7 @@ Uint64 DrvUtil_WriteBlock(Uint64 Start, Uint64 Length, void *Buffer,
        // Read last tailing block
        if(tailings != 0)
        {
-               LOG("Reading %i bytes from last block", tailings);
+               LOG("Writing %i bytes to last block", tailings);
                block += num;
                Buffer += num * BlockSize;
                // Read

UCC git Repository :: git.ucc.asn.au