am 9b14c4b0: am 735a0f0f: am cab0beb9: Merge "This read accidentally got turned in to a write."
* commit '9b14c4b0e8b8b102c699b554d701e461e7e562e7':
This read accidentally got turned in to a write.
diff --git a/minadbd/fuse_adb_provider.c b/minadbd/fuse_adb_provider.c
index 300e3c7..0d71072 100644
--- a/minadbd/fuse_adb_provider.c
+++ b/minadbd/fuse_adb_provider.c
@@ -42,7 +42,7 @@
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));
return -EIO;
}