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

Commit c3efd22a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix return type of nativePidFdOpen" into rvc-dev am: e0c2025f am:...

Merge "Fix return type of nativePidFdOpen" into rvc-dev am: e0c2025f am: 0d5f9b04 am: 5eed7951 am: 72ebbf25

Change-Id: Id4ad259c7388a4f877d0ff66a13d927de8a6d7e0
parents d5efb894 72ebbf25
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1330,7 +1330,7 @@ static inline int sys_pidfd_open(pid_t pid, unsigned int flags) {
    return syscall(__NR_pidfd_open, pid, flags);
}

static jboolean android_os_Process_nativePidFdOpen(JNIEnv* env, jobject, jint pid, jint flags) {
static jint android_os_Process_nativePidFdOpen(JNIEnv* env, jobject, jint pid, jint flags) {
    int fd = sys_pidfd_open(pid, flags);
    if (fd < 0) {
        throwErrnoException(env, "nativePidFdOpen", errno);