summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/so_txtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/net/so_txtime.c')
-rw-r--r--tools/testing/selftests/net/so_txtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/so_txtime.c b/tools/testing/selftests/net/so_txtime.c
index 8457b7ccbc09..b76df1efc2ef 100644
--- a/tools/testing/selftests/net/so_txtime.c
+++ b/tools/testing/selftests/net/so_txtime.c
@@ -174,7 +174,7 @@ static int do_recv_errqueue_timeout(int fdt)
msg.msg_controllen = sizeof(control);
while (1) {
- const char *reason;
+ const char *reason = NULL;
ret = recvmsg(fdt, &msg, MSG_ERRQUEUE);
if (ret == -1 && errno == EAGAIN)