summaryrefslogtreecommitdiffstats
path: root/minadbd/minadbd_services.cpp
diff options
context:
space:
mode:
authorxunchang <xunchang@google.com>2019-03-18 00:45:12 +0100
committerxunchang <xunchang@google.com>2019-03-19 19:11:58 +0100
commitea2912f187cec8d426cfc2ca715b9a503355fa37 (patch)
tree4298ddcf0b5ce74a15a43699adbcc2d27bfb9084 /minadbd/minadbd_services.cpp
parentMerge "Implement FilePackage class" (diff)
downloadandroid_bootable_recovery-ea2912f187cec8d426cfc2ca715b9a503355fa37.tar
android_bootable_recovery-ea2912f187cec8d426cfc2ca715b9a503355fa37.tar.gz
android_bootable_recovery-ea2912f187cec8d426cfc2ca715b9a503355fa37.tar.bz2
android_bootable_recovery-ea2912f187cec8d426cfc2ca715b9a503355fa37.tar.lz
android_bootable_recovery-ea2912f187cec8d426cfc2ca715b9a503355fa37.tar.xz
android_bootable_recovery-ea2912f187cec8d426cfc2ca715b9a503355fa37.tar.zst
android_bootable_recovery-ea2912f187cec8d426cfc2ca715b9a503355fa37.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);