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

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

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

* commit 'c9ff3714':
  fix valgrind ioctl warning.
parents 61e4b4d5 c9ff3714
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);