Skip to content

Commit

Permalink
Use LOG_WIN32... for Win32 errors (#1410)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrusTheAxe committed Sep 14, 2021
1 parent 35a922f commit 5661c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/DynamicDependency/API/MddLifetimeManagement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ STDAPI MddLifetimeManagementGC() noexcept try
if ((id.size() >= maxIdLength) ||
(swscanf_s(id.c_str(), L"ddlm-%hu.%hu.%hu.%hu-%9s", &version.Major, &version.Minor, &version.Build, &version.Revision, architectureAsString, static_cast<unsigned>(ARRAYSIZE(architectureAsString))) != 5))
{
(void)LOG_HR_MSG(ERROR_INVALID_DATA, "%ls", id.c_str());
(void)LOG_WIN32_MSG(ERROR_INVALID_DATA, "%ls", id.c_str());
continue;
}

Expand Down

0 comments on commit 5661c2d

Please sign in to comment.