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

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

am 596e9c63: Merge "fix valgrind ioctl warning."

* commit '596e9c63':
  fix valgrind ioctl warning.
parents 8fb85b37 596e9c63
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);