projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix iconv_open test
[libc-test]
/
src
/
functional
/
socket.c
diff --git
a/src/functional/socket.c
b/src/functional/socket.c
index
770630e
..
b62cf98
100644
(file)
--- a/
src/functional/socket.c
+++ b/
src/functional/socket.c
@@
-8,7
+8,7
@@
#include <fcntl.h>
#include "test.h"
#include <fcntl.h>
#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)
#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);
close(c);
close(s);
- return t
est
_status;
+ return t_status;
}
}