Kernel/x86 - Fix PMem bitmap overflow
[tpg/acess2.git] / KernelLand / Kernel / logging.c
index 5149e02..0ae993e 100644 (file)
@@ -163,10 +163,11 @@ void Log_Int_PrintMessage(tLogEntry *Entry)
                csaLevelColours[Entry->Level],
                Entry->Time
                );
-       LogF("%s [%-8s] %i - %s",
+       LogF("%s [%-8s] %i - %.*s",
                csaLevelCodes[Entry->Level],
                Entry->Ident,
                Threads_GetTID(),
+               Entry->Length,
                Entry->Data
                );
        LogF("\x1B[0m\r\n");    // Separate in case Entry->Data is too long

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