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

Commit dc07d407 authored by Marco Nelissen's avatar Marco Nelissen Committed by Automerger Merge Worker
Browse files

Merge "trusty_apploader: log to stderr" am: e0e160c5 am: dd538a6e

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1833093

Change-Id: Ifa756e4399c689cc00c3296ec46342fa0867d998
parents b9de8d3c dd538a6e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -245,6 +245,8 @@ static ssize_t send_app_package(const char* package_file_name) {
    tipc_fd = tipc_connect(dev_name, APPLOADER_PORT);
    if (tipc_fd < 0) {
        LOG(ERROR) << "Failed to connect to Trusty app loader: " << strerror(-tipc_fd);
        // print this to stderr too to avoid silently exiting when run as non-root
        fprintf(stderr, "Failed to connect to Trusty app loader: %s\n", strerror(-tipc_fd));
        rc = tipc_fd;
        goto err_tipc_connect;
    }