Skip to content

Commit 2bf174d

Browse files
committed
CreateFileW does not return a status
It would say CreateFileW failed STATUS_SUCCESS. Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent bc56a83 commit 2bf174d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FrameworkSensors/EcCommunication.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ NTSTATUS ConnectToEc(
3333
NULL);
3434

3535
if (*Handle == INVALID_HANDLE_VALUE) {
36-
TraceError("%!FUNC! CreateFileW failed %!STATUS!", Status);
36+
TraceError("%!FUNC! CreateFileW failed");
3737
return STATUS_INVALID_HANDLE;
3838
}
3939

0 commit comments

Comments
 (0)