Skip to content

Commit 47ea222

Browse files
committed
fix typo, amend last commit
1 parent 043a9b4 commit 47ea222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/innobase/os/os0file.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ os_file_get_block_size(
890890

891891
if (!result) {
892892
DWORD err = GetLastError();
893-
if (err != ERROR_INVALID_FUNCTION || err != ERROR_NOT_SUPPORTED) {
893+
if (err != ERROR_INVALID_FUNCTION && err != ERROR_NOT_SUPPORTED) {
894894
os_file_handle_error_no_exit(volume,
895895
"DeviceIoControl(IOCTL_STORAGE_QUERY_PROPERTY)", FALSE);
896896
}

0 commit comments

Comments
 (0)