Shell (FreeBSD): remove trailing \0

This commit is contained in:
李通洲 committed 2023-09-16 20:46:49 +08:00
1 parent 2082e01555
commit 6c1b39ae60
1 file changed
+1 -1
@@ -56,7 +56,7 @@ static void getProcessInformation(pid_t pid, FFstrbuf* processName, FFstrbuf* ex
exe->chars, &size,
NULL, 0
))
exe->length = (uint32_t)size;
exe->length = (uint32_t)size - 1;
#endif