From 9d9536d4318125656beaa60a3940b6a64b585398 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Wed, 22 Mar 2023 17:02:19 +0100 Subject: [PATCH] [NTOS:KD64] Format string of KdpDprintf can be const. --- ntoskrnl/include/internal/kd64.h | 2 +- ntoskrnl/kd64/kdprint.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ntoskrnl/include/internal/kd64.h b/ntoskrnl/include/internal/kd64.h index 9c8670ab557..cf46bc2a3b6 100644 --- a/ntoskrnl/include/internal/kd64.h +++ b/ntoskrnl/include/internal/kd64.h @@ -515,7 +515,7 @@ KdpSysCheckLowMemory( VOID __cdecl KdpDprintf( - _In_ PCHAR Format, + _In_ PCSTR Format, ...); BOOLEAN diff --git a/ntoskrnl/kd64/kdprint.c b/ntoskrnl/kd64/kdprint.c index c6089b534b4..0063e550458 100644 --- a/ntoskrnl/kd64/kdprint.c +++ b/ntoskrnl/kd64/kdprint.c @@ -526,7 +526,7 @@ KdpPrint( VOID __cdecl KdpDprintf( - _In_ PCHAR Format, + _In_ PCSTR Format, ...) { STRING String;