Skip to content

Commit 30ea529

Browse files
committed
Processing (SunOS): tidy
1 parent d43ed33 commit 30ea529

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/common/impl/processing_linux.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,7 @@ void ffProcessGetInfoLinux(pid_t pid, FFstrbuf* processName, FFstrbuf* exe, cons
410410
if (length > 0) // doesn't contain trailing NUL
411411
{
412412
buf[length] = '\0';
413-
ffStrbufEnsureFixedLengthFree(exePath, (uint32_t)length);
414-
ffStrbufAppendNS(exePath, (uint32_t)length, buf);
413+
ffStrbufSetNS(exePath, (uint32_t)length, buf);
415414
}
416415
}
417416

0 commit comments

Comments
 (0)