aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/microbit-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/microbit-test.c')
-rw-r--r--tests/qtest/microbit-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/microbit-test.c b/tests/qtest/microbit-test.c
index 4bc267020b..6022a92b6a 100644
--- a/tests/qtest/microbit-test.c
+++ b/tests/qtest/microbit-test.c
@@ -107,7 +107,7 @@ static void test_nrf51_uart(void)
g_assert_true(recv(sock_fd, s, 10, 0) == 5);
g_assert_true(memcmp(s, "world", 5) == 0);
- closesocket(sock_fd);
+ close(sock_fd);
qtest_quit(qts);
}