https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2cf30244cfc47c774925617bcc0785e09b0cf964

commit 2cf30244cfc47c774925617bcc0785e09b0cf964
Author: Colin Finck <co...@reactos.org>
AuthorDate: Mon Oct 16 10:38:12 2017 +0200

    [KD] Output the long commit hash as well at the start of the debug log.
    
    This will be used by Testman.
    Previously, it had to translate the short hash from the build number to a 
long hash, but such a database (GitInfo) only exists for commits in the master 
branch.
---
 ntoskrnl/kd/kdio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ntoskrnl/kd/kdio.c b/ntoskrnl/kd/kdio.c
index 7b43657313..40795de8bc 100644
--- a/ntoskrnl/kd/kdio.c
+++ b/ntoskrnl/kd/kdio.c
@@ -382,7 +382,7 @@ KdpSerialInit(PKD_DISPATCH_TABLE DispatchTable,
 
         /* Display separator + ReactOS version at start of the debug log */
         DPRINT1("-----------------------------------------------------\n");
-        DPRINT1("ReactOS "KERNEL_VERSION_STR" (Build 
"KERNEL_VERSION_BUILD_STR")\n");
+        DPRINT1("ReactOS " KERNEL_VERSION_STR " (Build " 
KERNEL_VERSION_BUILD_STR ") (Commit " KERNEL_VERSION_COMMIT_HASH "\n");
         MemSizeMBs = KdpGetMemorySizeInMBs(KeLoaderBlock);
         DPRINT1("%u System Processor [%u MB Memory]\n", KeNumberProcessors, 
MemSizeMBs);
         DPRINT1("Command Line: %s\n", KeLoaderBlock->LoadOptions);

Reply via email to