strtoumax: fix typo in previous commit.
[gnulib.git] / tests / test-sys_socket.c
index 0ac8a33..9084b18 100644 (file)
@@ -47,7 +47,7 @@ main (void)
   sa_family_t i;
 
   /* Check some errno values.  */
-  switch (0)
+  switch (ENOTSOCK)
     {
     case ENOTSOCK:
     case EADDRINUSE: