Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit faa75006 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Fix recovery image build.

A recent adb cleanup changed the signature of adb_main.

Change-Id: I98d084f999966f1a7aa94c63e9ed996b3375096d
parent 27c1ab20
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@
#include "adb_auth.h"
#include "transport.h"

int adb_main(int is_daemon, int server_port) {
int adb_main(int is_daemon, int server_port, int /* reply_fd */) {
    adb_device_banner = "sideload";

    signal(SIGPIPE, SIG_IGN);
+1 −1
Original line number Diff line number Diff line
@@ -942,7 +942,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);
        adb_main(0, DEFAULT_ADB_PORT, -1);
        return 0;
    }