Kernel/VTerm - (minor) Improved logging
authorJohn Hodge (sonata) <[email protected]>
Sat, 19 Jan 2013 11:39:02 +0000 (19:39 +0800)
committerJohn Hodge (sonata) <[email protected]>
Sat, 19 Jan 2013 11:39:02 +0000 (19:39 +0800)
KernelLand/Kernel/drv/vterm.c

index 5316ba5..9a31992 100644 (file)
@@ -448,8 +448,8 @@ size_t VT_Write(tVFS_Node *Node, off_t Offset, size_t Length, const void *Buffer
                // - Sanity Checking
                size = term->Width*term->Height*4;
                if( Offset > size ) {
-                       Log_Notice("VTerm", "VT_Write: Offset (0x%llx) > FBSize (0x%x)",
-                               Offset, size);
+                       Log_Notice("VTerm", "VT_Write: %i Offset (0x%llx) > FBSize (0x%x)",
+                               (int)Node->Inode, Offset, size);
                        return 0;
                }
                if( Offset + Length > size ) {

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