[c,printf] fix wlog format string to match arguments

This commit is contained in:
akallabeth
2026-01-16 11:41:47 +01:00
parent 614330ae8b
commit c3aacdf995

View File

@@ -418,9 +418,9 @@ static BOOL list_provider_keys(WINPR_ATTR_UNUSED const rdpSettings* settings,
if (status != ERROR_SUCCESS)
{
WLog_DBG(TAG,
"unable to NCryptOpenKey(dwLegacyKeySpec=0x%" PRIx32 " dwFlags=0x%" PRIx32
"unable to NCryptOpenKey(dwLegacyKeySpec=0x%08" PRIx32 " dwFlags=0x%08" PRIx32
"), status=%s, skipping",
status, keyName->dwLegacyKeySpec, keyName->dwFlags,
keyName->dwLegacyKeySpec, keyName->dwFlags,
winpr_NCryptSecurityStatusError(status));
goto endofloop;
}
@@ -493,8 +493,8 @@ static BOOL list_provider_keys(WINPR_ATTR_UNUSED const rdpSettings* settings,
if (status != ERROR_SUCCESS)
{
/* can happen that key don't have certificates */
WLog_DBG(TAG, "unable to retrieve certificate property len, status=0x%lx, skipping",
status);
WLog_DBG(TAG, "unable to retrieve certificate property len, status=%s, skipping",
winpr_NCryptSecurityStatusError(status));
goto endofloop;
}