We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dd09097 + 133684c commit f9469f9Copy full SHA for f9469f9
1 file changed
services/surfaceflinger/Scheduler/src/Timer.cpp
@@ -159,7 +159,7 @@ bool Timer::dispatch() {
159
ALOGW("Failed to set SCHED_FIFO on dispatch thread");
160
}
161
162
- if (pthread_setname_np(pthread_self(), "TimerDispatch")) {
+ if (pthread_setname_np(pthread_self(), "TimerDispatch") != 0) {
163
ALOGW("Failed to set thread name on dispatch thread");
164
165
0 commit comments