Processing (SunOS): tidy

This commit is contained in:
李通洲
2026-01-09 16:09:43 +08:00
parent d43ed33661
commit 30ea52938e
+1 -2
View File
@@ -410,8 +410,7 @@ void ffProcessGetInfoLinux(pid_t pid, FFstrbuf* processName, FFstrbuf* exe, cons
if (length > 0) // doesn't contain trailing NUL
{
buf[length] = '\0';
ffStrbufEnsureFixedLengthFree(exePath, (uint32_t)length);
ffStrbufAppendNS(exePath, (uint32_t)length, buf);
ffStrbufSetNS(exePath, (uint32_t)length, buf);
}
}