Skip to content

Commit

Permalink
nvapi: Use __func__ macro
Browse files Browse the repository at this point in the history
  • Loading branch information
jp7677 committed Oct 1, 2021
1 parent 91ba993 commit 886818b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nvapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 886818b

Please sign in to comment.