From 886818b30a92fcbb3d411f32c8955fcd152259b6 Mon Sep 17 00:00:00 2001 From: Jens Peters Date: Fri, 1 Oct 2021 11:38:18 +0200 Subject: [PATCH] nvapi: Use __func__ macro --- src/nvapi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvapi.cpp b/src/nvapi.cpp index 93afa315..24d4b3c4 100644 --- a/src/nvapi.cpp +++ b/src/nvapi.cpp @@ -108,7 +108,7 @@ extern "C" { NvAPI_Status __cdecl NvAPI_EnumNvidiaUnAttachedDisplayHandle(NvU32 thisEnum, NvUnAttachedDisplayHandle *pNvUnAttachedDispHandle) { // DXVK does not know about unattached displays - return EndEnumeration(str::format("NvAPI_EnumNvidiaUnAttachedDisplayHandle ", thisEnum)); + return EndEnumeration(str::format(__func__, " ", thisEnum)); } NvAPI_Status __cdecl NvAPI_GetInterfaceVersionString(NvAPI_ShortString szDesc) {