summaryrefslogtreecommitdiffstats
path: root/minadbd/adb_main.c
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-02-20 00:47:21 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-02-20 00:47:22 +0100
commit2d1022250941873f8748e6a159d4e5bf976e511f (patch)
tree247e812a898020502652e1cae9f244acab0aa517 /minadbd/adb_main.c
parentMerge "Move adb_main to its own file." (diff)
parentKill of most of the remainder of minadbd. (diff)
downloadandroid_bootable_recovery-2d1022250941873f8748e6a159d4e5bf976e511f.tar
android_bootable_recovery-2d1022250941873f8748e6a159d4e5bf976e511f.tar.gz
android_bootable_recovery-2d1022250941873f8748e6a159d4e5bf976e511f.tar.bz2
android_bootable_recovery-2d1022250941873f8748e6a159d4e5bf976e511f.tar.lz
android_bootable_recovery-2d1022250941873f8748e6a159d4e5bf976e511f.tar.xz
android_bootable_recovery-2d1022250941873f8748e6a159d4e5bf976e511f.tar.zst
android_bootable_recovery-2d1022250941873f8748e6a159d4e5bf976e511f.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);