From 6e808ad0a6e2667b34d9f6908e675b3520c7431d Mon Sep 17 00:00:00 2001 From: Peter Duerr Date: Mon, 7 Aug 2017 16:43:55 +0200 Subject: [PATCH] Fix additional erroneous px4_close call * As indicated by @bkueng --- src/systemcmds/tests/test_mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemcmds/tests/test_mount.c b/src/systemcmds/tests/test_mount.c index c5d6a6818a..2c041243b8 100644 --- a/src/systemcmds/tests/test_mount.c +++ b/src/systemcmds/tests/test_mount.c @@ -273,7 +273,7 @@ test_mount(int argc, char *argv[]) px4_close(fd); if (ret) { - px4_close(cmd_fd); + close(cmd_fd); PX4_ERR("UNLINKING FILE FAILED"); return 1; }