This read accidentally got turned in to a write.
Too many mechanical changes in a row...
Bug: 19522788
Change-Id: Ic451792aab2700cdbdbb64529b99ff5f567918ad
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;
}