X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Ffunctional%2Fsocket.c;h=b62cf988f6ce354eeb64d799c2055978b4ff3995;hb=54c15bc45a8721b8482552586a50b2548271a3b4;hp=770630e2be0dd122462b6dcc915f81524f986baa;hpb=dc3c958e63898cf7a72353b5a262e24524a095d6;p=libc-test diff --git a/src/functional/socket.c b/src/functional/socket.c index 770630e..b62cf98 100644 --- a/src/functional/socket.c +++ b/src/functional/socket.c @@ -8,7 +8,7 @@ #include #include "test.h" -#define TEST(c, ...) ((c) ? 1 : (error(#c" failed: " __VA_ARGS__),0)) +#define TEST(c, ...) ((c) ? 1 : (t_error(#c" failed: " __VA_ARGS__),0)) #define TESTE(c) (errno=0, TEST(c, "errno = %s\n", strerror(errno))) int main(void) @@ -54,5 +54,5 @@ int main(void) close(c); close(s); - return test_status; + return t_status; }