X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Ffunctional%2Fpthread_cond.c;fp=src%2Ffunctional%2Fpthread_cond.c;h=a9a086a36827f3b786063cdf21372c85cbcafb2e;hb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;hp=23c9924a869a4619938b01a37610961f736c6b8f;hpb=b775d19f7ff58da3fe009d48742068cc92a274f2;p=libc-test diff --git a/src/functional/pthread_cond.c b/src/functional/pthread_cond.c index 23c9924..a9a086a 100644 --- a/src/functional/pthread_cond.c +++ b/src/functional/pthread_cond.c @@ -3,7 +3,7 @@ #include "test.h" #define TEST(r, f, m) ( \ - ((r) = (f)) == 0 || (error("%s failed: %s (" m ")\n", #f, strerror(r)), 0) ) + ((r) = (f)) == 0 || (t_error("%s failed: %s (" m ")\n", #f, strerror(r)), 0) ) static void *start_signal(void *arg) @@ -95,5 +95,5 @@ int main(void) TEST(r, pthread_mutex_destroy(&mtx), ""); TEST(r, pthread_cond_destroy(&cond), ""); - return test_status; + return t_status; }