mirror of
https://git.freebsd.org/ports.git
synced 2025-06-17 18:50:33 -04:00
- Switch to SF mirror - Add USE_DOS2UNIX PR: ports/171859 Approved by: Iouri Ivliev <ii@any.com.ru> (maintainer)
11 lines
472 B
C++
11 lines
472 B
C++
--- zthread/src/posix/ThreadOps.cxx.orig 2008-02-28 22:51:46.000000000 +0000
|
|
+++ zthread/src/posix/ThreadOps.cxx 2012-09-24 12:02:46.539117586 +0000
|
|
@@ -103,7 +103,7 @@
|
|
struct sched_param param;
|
|
int policy = SCHED_OTHER;
|
|
|
|
- if(result = (pthread_getschedparam(impl->_tid, &policy, ¶m) == 0)) {
|
|
+ if((result = (pthread_getschedparam(impl->_tid, &policy, ¶m) == 0))) {
|
|
|
|
// Convert to one of the PRIORITY values
|
|
if(param.sched_priority < 10)
|