diff options
Diffstat (limited to 'gnulib-tests/test-sys_socket.c')
-rw-r--r-- | gnulib-tests/test-sys_socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnulib-tests/test-sys_socket.c b/gnulib-tests/test-sys_socket.c index 0ac8a332..8316f9ae 100644 --- a/gnulib-tests/test-sys_socket.c +++ b/gnulib-tests/test-sys_socket.c @@ -1,5 +1,5 @@ /* Test of <sys/socket.h> substitute. - Copyright (C) 2007, 2009-2013 Free Software Foundation, Inc. + Copyright (C) 2007, 2009-2014 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -47,7 +47,7 @@ main (void) sa_family_t i; /* Check some errno values. */ - switch (0) + switch (ENOTSOCK) { case ENOTSOCK: case EADDRINUSE: |