Kernel/vfs - Fixing OpenInode support
[tpg/acess2.git] / Kernel / debug.c
index 76ed7cf..0ad7469 100644 (file)
@@ -389,7 +389,7 @@ void Debug_HexDump(const char *Header, const void *Data, Uint Length)
        Uint    pos = 0;
        LogF("%014lli ", now());
        Debug_Puts(1, Header);
-       LogF(" (Hexdump of %p)\n", Data);
+       LogF(" (Hexdump of %p)\r\n", Data);
 
        #define CH(n)   ((' '<=cdat[(n)]&&cdat[(n)]<0x7F) ? cdat[(n)] : '.')
 
@@ -398,7 +398,7 @@ void Debug_HexDump(const char *Header, const void *Data, Uint Length)
                LogF("%014lli Log: %04x:"
                        " %02x %02x %02x %02x %02x %02x %02x %02x"
                        " %02x %02x %02x %02x %02x %02x %02x %02x"
-                       "  %c%c%c%c%c%c%c%c %c%c%c%c%c%c%c%c\n",
+                       "  %c%c%c%c%c%c%c%c %c%c%c%c%c%c%c%c\r\n",
                        now(),
                        pos,
                        cdat[ 0], cdat[ 1], cdat[ 2], cdat[ 3], cdat[ 4], cdat[ 5], cdat[ 6], cdat[ 7],
@@ -426,6 +426,7 @@ void Debug_HexDump(const char *Header, const void *Data, Uint Length)
                        LogF("%c", CH(i));
                }
        
+               Debug_Putchar('\r');
                Debug_Putchar('\n');
        }
 }

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