[misc] fix CodeQL warnings

This commit is contained in:
Pete Batard 2023-04-22 16:36:27 +01:00
parent d18260bec3
commit 3177e70e25
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
12 changed files with 27 additions and 27 deletions

View file

@ -994,7 +994,7 @@ static DWORD WINAPI DownloadISOThread(LPVOID param)
PIPE_TYPE_MESSAGE | PIPE_READMODE_MESSAGE | PIPE_WAIT, PIPE_UNLIMITED_INSTANCES,
dwPipeSize, dwPipeSize, 0, NULL);
if (hPipe == INVALID_HANDLE_VALUE) {
uprintf("Could not create pipe '%s': %s", pipe, WindowsErrorString);
uprintf("Could not create pipe '%s': %s", pipe, WindowsErrorString());
goto out;
}