summaryrefslogtreecommitdiff
path: root/src/envwindows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/envwindows.cpp')
-rw-r--r--src/envwindows.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/envwindows.cpp b/src/envwindows.cpp
index 8a98036a..3932a9b5 100644
--- a/src/envwindows.cpp
+++ b/src/envwindows.cpp
@@ -210,7 +210,7 @@ std::optional<bool> WindowsInfo::getElevated() const
log::error(
"while trying to check if process is elevated, "
- "OpenProcessToken() failed: {}", formatSystemMessageQ(e));
+ "OpenProcessToken() failed: {}", formatSystemMessage(e));
return {};
}
@@ -226,7 +226,7 @@ std::optional<bool> WindowsInfo::getElevated() const
log::error(
"while trying to check if process is elevated, "
- "GetTokenInformation() failed: {}", formatSystemMessageQ(e));
+ "GetTokenInformation() failed: {}", formatSystemMessage(e));
return {};
}