summaryrefslogtreecommitdiff
path: root/gl/tests/test-sys_socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'gl/tests/test-sys_socket.c')
-rw-r--r--gl/tests/test-sys_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gl/tests/test-sys_socket.c b/gl/tests/test-sys_socket.c
index 0ac8a33264..9084b18b6d 100644
--- a/gl/tests/test-sys_socket.c
+++ b/gl/tests/test-sys_socket.c
@@ -47,7 +47,7 @@ main (void)
sa_family_t i;
/* Check some errno values. */
- switch (0)
+ switch (ENOTSOCK)
{
case ENOTSOCK:
case EADDRINUSE: