[PATCH] urlmon: Fix function name in the warning message.

Nikolay Sivov nsivov at codeweavers.com
Wed Mar 17 12:26:06 CDT 2021


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/urlmon/protocol.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/urlmon/protocol.c b/dlls/urlmon/protocol.c
index e6ffd366693..2acffdc1ffe 100644
--- a/dlls/urlmon/protocol.c
+++ b/dlls/urlmon/protocol.c
@@ -498,7 +498,7 @@ HRESULT protocol_read(Protocol *protocol, void *buf, ULONG size, ULONG *read_ret
 HRESULT protocol_lock_request(Protocol *protocol)
 {
     if (!InternetLockRequestFile(protocol->request, &protocol->lock))
-        WARN("InternetLockRequest failed: %d\n", GetLastError());
+        WARN("InternetLockRequestFile failed: %d\n", GetLastError());
 
     return S_OK;
 }
@@ -509,7 +509,7 @@ HRESULT protocol_unlock_request(Protocol *protocol)
         return S_OK;
 
     if(!InternetUnlockRequestFile(protocol->lock))
-        WARN("InternetUnlockRequest failed: %d\n", GetLastError());
+        WARN("InternetUnlockRequestFile failed: %d\n", GetLastError());
     protocol->lock = 0;
 
     return S_OK;
-- 
2.30.2




More information about the wine-devel mailing list