mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:14:37 +02:00
Shell (FreeBSD): remove trailing \0
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user