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; }