fix parens in test macros
[libc-test] / src / functional / socket.c
index fc01e67..770630e 100644 (file)
@@ -9,7 +9,7 @@
 #include "test.h"
 
 #define TEST(c, ...) ((c) ? 1 : (error(#c" failed: " __VA_ARGS__),0))
-#define TESTE(c) (errno=0, TEST(c, "errno = %s\n", strerror(errno))
+#define TESTE(c) (errno=0, TEST(c, "errno = %s\n", strerror(errno)))
 
 int main(void)
 {