https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4f4be5c4989208be46088…
commit 4f4be5c4989208be46088dbaff3015e4b32d3f51
Author: Joachim Henze <joachim.henze(a)reactos.org>
AuthorDate: Thu Sep 26 00:49:29 2024 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Thu Sep 26 00:49:29 2024 +0200
[FREELDR] Print arch + buildnumber on crash-screen (#7382)
This commit tries to improve the quality of the screenshots that we do get posted in
JIRA,
where we couldn't even see up to now which build and arch was run.
This is in the wider context of CORE6762
(I intentionally left out the minus in the CORE-ID to prevent auto-linkage to that
ticket)
---
boot/freeldr/freeldr/arch/i386/i386bug.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/boot/freeldr/freeldr/arch/i386/i386bug.c
b/boot/freeldr/freeldr/arch/i386/i386bug.c
index 7e03deacdcb..1276ddad9bc 100644
--- a/boot/freeldr/freeldr/arch/i386/i386bug.c
+++ b/boot/freeldr/freeldr/arch/i386/i386bug.c
@@ -1,6 +1,7 @@
#include <freeldr.h>
+#include <reactos/buildno.h>
#include <debug.h>
typedef struct _FRAME
@@ -115,7 +116,7 @@ i386PrintExceptionText(ULONG TrapIndex, PKTRAP_FRAME TrapFrame,
PKSPECIAL_REGIST
i386_ScreenPosX = 0;
i386_ScreenPosY = 0;
- PrintText("An error occured in " VERSION "\n"
+ PrintText("FreeLdr " KERNEL_VERSION_STR " "
KERNEL_VERSION_BUILD_STR "\n"
"Report this error on the ReactOS Bug Tracker:
https://jira.reactos.org\n\n"
"0x%02lx: %s\n\n", TrapIndex,
i386ExceptionDescriptionText[TrapIndex]);