diff --git a/src/systemcmds/tests/test_mount.c b/src/systemcmds/tests/test_mount.c index 2c041243b8..bf0cd95f49 100644 --- a/src/systemcmds/tests/test_mount.c +++ b/src/systemcmds/tests/test_mount.c @@ -285,7 +285,7 @@ test_mount(int argc, char *argv[]) fsync(fileno(stderr)); usleep(20000); - px4_close(cmd_fd); + close(cmd_fd); /* we always reboot for the next test if we get here */ PX4_INFO("Iteration done, rebooting..");