Processing (SunOS): tidy

This commit is contained in:
李通洲 committed 2026-01-09 20:14:00 +08:00
1 parent d43ed33661
commit 30ea52938e
1 file changed
+1 -2
+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);
}
}