From d902afa3dc3fe0cff04daec0bd915eb65469e447 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Mon, 11 Mar 2024 20:32:34 +1100 Subject: [PATCH] [host] d12: fix error output string format --- host/platform/Windows/capture/D12/d12.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/platform/Windows/capture/D12/d12.c b/host/platform/Windows/capture/D12/d12.c index 869648f4..ebf71b12 100644 --- a/host/platform/Windows/capture/D12/d12.c +++ b/host/platform/Windows/capture/D12/d12.c @@ -1019,7 +1019,7 @@ static bool d12_heapTest(ID3D12Device3 * device, ID3D12Heap * heap) hr = ID3D12Device3_GetDeviceRemovedReason(device); if (hr != S_OK) { - DEBUG_WINERROR("Device Removed: %s", hr); + DEBUG_WINERROR("Device Removed", hr); goto exit; }