summaryrefslogtreecommitdiffstats
path: root/minadbd/adb_main.c
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-02-20 01:30:46 +0100
committerAndroid Git Automerger <android-git-automerger@android.com>2015-02-20 01:30:46 +0100
commita89ed9e16c73410cab0e431a50b9fdae81a7f6f6 (patch)
treebb61e74fde6d753997ff98519010ce10d58fb7f0 /minadbd/adb_main.c
parentam a1df1a77: am c2b60b98: Merge commit \'f8dd04e1a5f94e7accf65a5375114ac7fa73f828\' into HEAD (diff)
parentam 552fceb8: am 2d102225: Merge "Kill of most of the remainder of minadbd." (diff)
downloadandroid_bootable_recovery-a89ed9e16c73410cab0e431a50b9fdae81a7f6f6.tar
android_bootable_recovery-a89ed9e16c73410cab0e431a50b9fdae81a7f6f6.tar.gz
android_bootable_recovery-a89ed9e16c73410cab0e431a50b9fdae81a7f6f6.tar.bz2
android_bootable_recovery-a89ed9e16c73410cab0e431a50b9fdae81a7f6f6.tar.lz
android_bootable_recovery-a89ed9e16c73410cab0e431a50b9fdae81a7f6f6.tar.xz
android_bootable_recovery-a89ed9e16c73410cab0e431a50b9fdae81a7f6f6.tar.zst
android_bootable_recovery-a89ed9e16c73410cab0e431a50b9fdae81a7f6f6.zip
Diffstat (limited to 'minadbd/adb_main.c')
-rw-r--r--minadbd/adb_main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/minadbd/adb_main.c b/minadbd/adb_main.c
index 66d270261..a62881d88 100644
--- a/minadbd/adb_main.c
+++ b/minadbd/adb_main.c
@@ -24,10 +24,12 @@
#include "adb.h"
#include "sysdeps.h"
-int adb_main()
+int adb_main(int is_daemon, int server_port)
{
atexit(usb_cleanup);
+ adb_device_banner = "sideload";
+
// No SIGCHLD. Let the service subproc handle its children.
signal(SIGPIPE, SIG_IGN);