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

Commit b0f96c48 authored by Jesse Hall's avatar Jesse Hall Committed by Android Git Automerger
Browse files

am 01502981: Merge "fix valgrind ioctl warning."

* commit '01502981':
  fix valgrind ioctl warning.
parents bca88f10 01502981
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -345,7 +345,7 @@ static int open_driver()
    int fd = open("/dev/binder", O_RDWR);
    if (fd >= 0) {
        fcntl(fd, F_SETFD, FD_CLOEXEC);
        int vers;
        int vers = 0;
        status_t result = ioctl(fd, BINDER_VERSION, &vers);
        if (result == -1) {
            ALOGE("Binder ioctl to obtain version failed: %s", strerror(errno));