aboutsummaryrefslogtreecommitdiff
path: root/support/xsocket.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/xsocket.c')
-rw-r--r--support/xsocket.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/support/xsocket.c b/support/xsocket.c
index 9ebe63f..268a825 100644
--- a/support/xsocket.c
+++ b/support/xsocket.c
@@ -27,10 +27,6 @@ xsocket (int domain, int type, int protocol)
{
int fd = socket (domain, type, protocol);
if (fd < 0)
- {
- support_record_failure ();
- printf ("error: socket (%d, %d, %d): %m\n", domain, type, protocol);
- exit (1);
- }
+ FAIL_EXIT1 ("socket (%d, %d, %d): %m\n", domain, type, protocol);
return fd;
}