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