mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-12 14:25:29 +01:00
Shell (FreeBSD): remove trailing \0
This commit is contained in:
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
|
||||
|
||||
|
||||
Reference in new issue
Block a user