X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Ffunctional%2Fpthread_cond.c;h=a9a086a36827f3b786063cdf21372c85cbcafb2e;hb=2c671f66e28ac079ae1148f5135c9a52129cc807;hp=23c9924a869a4619938b01a37610961f736c6b8f;hpb=08cb396fb7dbb632c49b0893a8e116269f195844;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; }