summaryrefslogtreecommitdiffstats
path: root/minadbd/adb_main.c
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-02-20 01:23:43 +0100
committerAndroid Git Automerger <android-git-automerger@android.com>2015-02-20 01:23:43 +0100
commitdda456b5da3d59a71b486aa85912dec65b3089b2 (patch)
tree50a26b997958b2db8d64ade8618d72b30a148992 /minadbd/adb_main.c
parentam c2b60b98: Merge commit \'f8dd04e1a5f94e7accf65a5375114ac7fa73f828\' into HEAD (diff)
parentam 2d102225: Merge "Kill of most of the remainder of minadbd." (diff)
downloadandroid_bootable_recovery-dda456b5da3d59a71b486aa85912dec65b3089b2.tar
android_bootable_recovery-dda456b5da3d59a71b486aa85912dec65b3089b2.tar.gz
android_bootable_recovery-dda456b5da3d59a71b486aa85912dec65b3089b2.tar.bz2
android_bootable_recovery-dda456b5da3d59a71b486aa85912dec65b3089b2.tar.lz
android_bootable_recovery-dda456b5da3d59a71b486aa85912dec65b3089b2.tar.xz
android_bootable_recovery-dda456b5da3d59a71b486aa85912dec65b3089b2.tar.zst
android_bootable_recovery-dda456b5da3d59a71b486aa85912dec65b3089b2.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);