From 30ea52938e38a14b1b0414df35570c6abdf36c1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Fri, 9 Jan 2026 16:09:43 +0800 Subject: [PATCH] Processing (SunOS): tidy --- src/common/impl/processing_linux.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common/impl/processing_linux.c b/src/common/impl/processing_linux.c index 3ec67e97d..37767ac99 100644 --- a/src/common/impl/processing_linux.c +++ b/src/common/impl/processing_linux.c @@ -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); } }