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

Commit 783e6c47 authored by Colin Cross's avatar Colin Cross Committed by Android Git Automerger
Browse files

am 8da6e9c7: am c9ff3714: am 596e9c63: Merge "fix valgrind ioctl warning."

* commit '8da6e9c7':
  fix valgrind ioctl warning.
parents bc102111 8da6e9c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ int ashmem_create_region(const char *name, size_t size)
		return fd;

	if (name) {
		char buf[ASHMEM_NAME_LEN];
		char buf[ASHMEM_NAME_LEN] = {0};

		strlcpy(buf, name, sizeof(buf));
		ret = ioctl(fd, ASHMEM_SET_NAME, buf);