winpr/wait: add missing parameters
authorBernhard Miklautz <bernhard.miklautz@thincast.com>
Thu, 6 Oct 2016 13:40:11 +0000 (15:40 +0200)
committerBernhard Miklautz <bernhard.miklautz@thincast.com>
Thu, 6 Oct 2016 13:40:11 +0000 (15:40 +0200)
Add the missing parameters introduced with PR #3381

winpr/libwinpr/synch/wait.c

index e9aecce..cb2b9ad 100644 (file)
@@ -309,7 +309,7 @@ DWORD WaitForSingleObject(HANDLE hHandle, DWORD dwMilliseconds)
 
 DWORD WaitForSingleObjectEx(HANDLE hHandle, DWORD dwMilliseconds, BOOL bAlertable)
 {
-       WLog_ERR(TAG, "%s: Not implemented.");
+       WLog_ERR(TAG, "%s: Not implemented.", __FUNCTION__);
        SetLastError(ERROR_NOT_SUPPORTED);
        return WAIT_FAILED;
 }
@@ -549,7 +549,7 @@ DWORD WaitForMultipleObjectsEx(DWORD nCount, const HANDLE *lpHandles, BOOL bWait
 
 DWORD SignalObjectAndWait(HANDLE hObjectToSignal, HANDLE hObjectToWaitOn, DWORD dwMilliseconds, BOOL bAlertable)
 {
-       WLog_ERR(TAG, "%s: Not implemented.");
+       WLog_ERR(TAG, "%s: Not implemented.", __FUNCTION__);
        SetLastError(ERROR_NOT_SUPPORTED);
        return WAIT_FAILED;
 }