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

Commit 596e9c63 authored by Colin Cross's avatar Colin Cross Committed by Gerrit Code Review
Browse files

Merge "fix valgrind ioctl warning."

parents 2b2f1ae8 b8157012
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);