OcDebugLogLib: Fix overwriting newline

This commit is contained in:
vit9696 2020-03-14 04:33:02 +03:00
parent 6a05f87f66
commit c25f05f9df

View File

@ -135,7 +135,7 @@ AppleDebugLogPrint (
// Ensure it is terminated with a newline.
//
mCurrentBuffer[Length] = '\n';
mCurrentBuffer[Length] = '\0';
mCurrentBuffer[Length+1] = '\0';
}
AppleDebugLogPrintToOcLog (
OcLog,