summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wayland-os.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wayland-os.c b/src/wayland-os.c
index 5ff4391..8f75976 100644
--- a/src/wayland-os.c
+++ b/src/wayland-os.c
@@ -56,7 +56,6 @@ wl_os_socket_cloexec(int domain, int type, int protocol)
int fd;
#ifdef SOCK_CLOEXEC
- errno = 0;
fd = socket(domain, type | SOCK_CLOEXEC, protocol);
if (fd >= 0)
return fd;