summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-11-20 22:03:24 +0100
committerElliott Hughes <enh@google.com>2015-11-20 22:03:24 +0100
commit9f4fdb3def9264a80e05e473ac67ddc19c1a6ef2 (patch)
treea93dec03d3e318b61416b3a4394ef5b43e42a867 /recovery.cpp
parentMerge "We can use fclose directly in std::unique_ptr." (diff)
downloadandroid_bootable_recovery-9f4fdb3def9264a80e05e473ac67ddc19c1a6ef2.tar
android_bootable_recovery-9f4fdb3def9264a80e05e473ac67ddc19c1a6ef2.tar.gz
android_bootable_recovery-9f4fdb3def9264a80e05e473ac67ddc19c1a6ef2.tar.bz2
android_bootable_recovery-9f4fdb3def9264a80e05e473ac67ddc19c1a6ef2.tar.lz
android_bootable_recovery-9f4fdb3def9264a80e05e473ac67ddc19c1a6ef2.tar.xz
android_bootable_recovery-9f4fdb3def9264a80e05e473ac67ddc19c1a6ef2.tar.zst
android_bootable_recovery-9f4fdb3def9264a80e05e473ac67ddc19c1a6ef2.zip
Diffstat (limited to '')
-rw-r--r--recovery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/recovery.cpp b/recovery.cpp
index 5f3bfca43..aaca3e0fb 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -1015,7 +1015,7 @@ main(int argc, char **argv) {
// only way recovery should be run with this argument is when it
// starts a copy of itself from the apply_from_adb() function.
if (argc == 2 && strcmp(argv[1], "--adbd") == 0) {
- adb_main(0, DEFAULT_ADB_PORT, -1);
+ adb_server_main(0, DEFAULT_ADB_PORT, -1);
return 0;
}