mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 00:37:23 +01: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