error = pthread_create(tid, &attr, thread_func, arg);
if (error != 0) {
- ERR( "[%s] Thread creation Fail errno [%d]\n", tname, errno);
+ ERR("[%s] Thread creation Fail errno [%d]\n", tname, errno);
pthread_attr_destroy(&attr);
return FALSE;
}
error = pthread_attr_destroy(&attr);
- if (error != 0) {
+ if (error != 0)
ERR("pthread_attr_destroy Fail [%d] errno [%d]\n", error, errno);
- }
return TRUE;
}