linux: add missing break to get rid of error message

Streaming recently got its own priority, but due to the missing
break, Low priority threads would fall through, causing the
call to fail since processes cannot increase their priority.

Therefore, the behaviour doesn't really change except for the
error going away.
This commit is contained in:
Dennis Brakhane
2025-03-10 19:07:31 +01:00
parent b937bab75c
commit 0b464d3f6e
+1
View File
@@ -204,6 +204,7 @@ namespace wi::jobsystem
{
perror("setpriority");
}
break;
case Priority::Streaming:
if (setpriority(PRIO_PROCESS, 0, 2) != 0)
{