* commit '735a0f0fc3de936db3ce5a99dbcf02e970d47ba0': This read accidentally got turned in to a write.
This commit is contained in:
@@ -42,7 +42,7 @@ static int read_block_adb(void* cookie, uint32_t block, uint8_t* buffer, uint32_
|
|||||||
return -EIO;
|
return -EIO;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!WriteFdExactly(ad->sfd, buffer, fetch_size)) {
|
if (!ReadFdExactly(ad->sfd, buffer, fetch_size)) {
|
||||||
fprintf(stderr, "failed to read from adb host: %s\n", strerror(errno));
|
fprintf(stderr, "failed to read from adb host: %s\n", strerror(errno));
|
||||||
return -EIO;
|
return -EIO;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user