From: Colin Finck Date: Mon, 16 Oct 2017 08:38:12 +0000 (+0200) Subject: [KD] Output the long commit hash as well at the start of the debug log. X-Git-Tag: 0.4.8-dev~96 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=2cf30244cfc47c774925617bcc0785e09b0cf964 [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. --- diff --git a/ntoskrnl/kd/kdio.c b/ntoskrnl/kd/kdio.c index 7b436573132..40795de8bc1 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);