Use << instead of , to log "NtQueryInformationProcess"

Fixes a -Wunused-value warning found by the latest version of clang.

R=mark@chromium.org

Bug: 917419
Change-Id: I6178c1534adc7e25e5b75f6a6ab90497a86de23f
Reviewed-on: https://chromium-review.googlesource.com/c/1395945
Reviewed-by: Mark Mentovai <mark@chromium.org>
Commit-Queue: Reid Kleckner <rnk@chromium.org>
This commit is contained in:
Reid Kleckner 2019-01-04 11:39:41 -08:00 committed by Commit Bot
parent cc166d71f4
commit b3eeffaa18

View File

@ -224,7 +224,7 @@ bool GetProcessBasicInformation(HANDLE process,
sizeof(wow64_peb_address),
&bytes_returned);
if (!NT_SUCCESS(status)) {
NTSTATUS_LOG(ERROR, status), "NtQueryInformationProcess";
NTSTATUS_LOG(ERROR, status) << "NtQueryInformationProcess";
return false;
}
if (bytes_returned != sizeof(wow64_peb_address)) {