From 0439d9526bfb60a56e9722022154d20b3c09e2d9 Mon Sep 17 00:00:00 2001 From: Rafal Kupiec Date: Mon, 27 Jul 2026 21:35:04 +0200 Subject: [PATCH] Use %S when printing wide string value --- boot/xtldr/volume.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/xtldr/volume.cc b/boot/xtldr/volume.cc index 8309c55..2292247 100644 --- a/boot/xtldr/volume.cc +++ b/boot/xtldr/volume.cc @@ -456,7 +456,7 @@ Volume::GetDevicePath(IN PWCHAR SystemPath, if(Status != STATUS_EFI_SUCCESS) { /* Failed to parse system path */ - Debug::Print(L"ERROR: Failed to parse system path: '%s' (Status Code: 0x%zX)\n", SystemPath, Status); + Debug::Print(L"ERROR: Failed to parse system path: '%S' (Status Code: 0x%zX)\n", SystemPath, Status); return Status; }