From 6d2efd0e8f525b4886d28ff8011e0eabafd7ecfc Mon Sep 17 00:00:00 2001 From: Mark Charlebois Date: Tue, 5 May 2015 13:07:54 -0700 Subject: [PATCH] uORB: Unit test called close vs px4_close The unit test should have called px4_close(), not close(). Signed-off-by: Mark Charlebois --- src/modules/uORB/uORBTest_UnitTest.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/uORB/uORBTest_UnitTest.hpp b/src/modules/uORB/uORBTest_UnitTest.hpp index 0e68aa6c8c..366765fa18 100644 --- a/src/modules/uORB/uORBTest_UnitTest.hpp +++ b/src/modules/uORB/uORBTest_UnitTest.hpp @@ -119,7 +119,7 @@ int uORBTest::UnitTest::latency_test(orb_id_t T, bool print) usleep(1000); } - close(pfd0); + px4_close(pfd0); if (pubsub_task < 0) { return test_fail("failed launching task");