Fix warning messages in QWindowsPipeReader/Writer
We forgot to update the warnings when removing qt_cancelIo.
Also, use %p instead of %x, because HANDLE is void*.
This amends commit fade2958
.
Change-Id: Ia11d7d094aa6beb939e0be4bbe4ab3654eaa1c02
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
This commit is contained in:
parent
0b6bf289fd
commit
2d54aac427
@ -98,7 +98,7 @@ void QWindowsPipeReader::stop()
|
||||
if (!CancelIoEx(handle, &overlapped)) {
|
||||
const DWORD dwError = GetLastError();
|
||||
if (dwError != ERROR_NOT_FOUND) {
|
||||
qErrnoWarning(dwError, "QWindowsPipeReader: qt_cancelIo on handle %x failed.",
|
||||
qErrnoWarning(dwError, "QWindowsPipeReader: CancelIoEx on handle %p failed.",
|
||||
handle);
|
||||
}
|
||||
}
|
||||
|
@ -211,7 +211,7 @@ void QWindowsPipeWriter::stop()
|
||||
if (!CancelIoEx(handle, &overlapped)) {
|
||||
const DWORD dwError = GetLastError();
|
||||
if (dwError != ERROR_NOT_FOUND) {
|
||||
qErrnoWarning(dwError, "QWindowsPipeWriter: qt_cancelIo on handle %x failed.",
|
||||
qErrnoWarning(dwError, "QWindowsPipeWriter: CancelIoEx on handle %p failed.",
|
||||
handle);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user