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

Commit 2482e540 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Merge "Log the errno if calling fork() fails" am: d84afeb6 am:...

Merge "Merge "Log the errno if calling fork() fails" am: d84afeb6 am: 9bd0d906 am: 974e62c8" into tm-d1-dev-plus-aosp am: 22a56f75

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2165856



Change-Id: Idfa27541ae8b01430d0c92a909673e0218ed95d3
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 93f94242 22a56f75
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2127,6 +2127,8 @@ pid_t zygote::ForkCommon(JNIEnv* env, bool is_system_server,

    // Reset the fd to the unsolicited zygote socket
    gSystemServerSocketFd = -1;
  } else if (pid == -1) {
    ALOGE("Failed to fork child process: %s (%d)", strerror(errno), errno);
  } else {
    ALOGD("Forked child process %d", pid);
  }