summaryrefslogtreecommitdiffstats
path: root/minadbd/minadbd_services.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-03-19 21:34:58 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-03-19 21:34:58 +0100
commiteeea86f5fdf29c7e8742fd0fe062ad09e3130433 (patch)
tree874f99533dc317f106ba4da4e955713c5ff46051 /minadbd/minadbd_services.cpp
parentMerge "Skip calling verify_package_compatibility when resuming." (diff)
parentCreate a FuseDataProvider base class (diff)
downloadandroid_bootable_recovery-eeea86f5fdf29c7e8742fd0fe062ad09e3130433.tar
android_bootable_recovery-eeea86f5fdf29c7e8742fd0fe062ad09e3130433.tar.gz
android_bootable_recovery-eeea86f5fdf29c7e8742fd0fe062ad09e3130433.tar.bz2
android_bootable_recovery-eeea86f5fdf29c7e8742fd0fe062ad09e3130433.tar.lz
android_bootable_recovery-eeea86f5fdf29c7e8742fd0fe062ad09e3130433.tar.xz
android_bootable_recovery-eeea86f5fdf29c7e8742fd0fe062ad09e3130433.tar.zst
android_bootable_recovery-eeea86f5fdf29c7e8742fd0fe062ad09e3130433.zip
Diffstat (limited to 'minadbd/minadbd_services.cpp')
-rw-r--r--minadbd/minadbd_services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/minadbd/minadbd_services.cpp b/minadbd/minadbd_services.cpp
index 9309ed749..3e1128546 100644
--- a/minadbd/minadbd_services.cpp
+++ b/minadbd/minadbd_services.cpp
@@ -44,7 +44,7 @@ static void sideload_host_service(unique_fd sfd, const std::string& args) {
printf("sideload-host file size %" PRId64 " block size %d\n", file_size, block_size);
- int result = run_adb_fuse(sfd, file_size, block_size);
+ int result = run_adb_fuse(std::move(sfd), file_size, block_size);
printf("sideload_host finished\n");
exit(result == 0 ? 0 : 1);