summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/sys/socket/setsockopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/sys/socket/setsockopt.c')
-rw-r--r--testsuites/psxtests/psxhdrs/sys/socket/setsockopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxhdrs/sys/socket/setsockopt.c b/testsuites/psxtests/psxhdrs/sys/socket/setsockopt.c
index d373add6de..e4d21d3837 100644
--- a/testsuites/psxtests/psxhdrs/sys/socket/setsockopt.c
+++ b/testsuites/psxtests/psxhdrs/sys/socket/setsockopt.c
@@ -46,7 +46,7 @@ int test(void)
int sockfd = 4;
int level = SOL_SOCKET;
int optname = 67;
- int value;
+ int value = 0;
void *optval = &value;
socklen_t optlen = sizeof(value);