diff --git a/src/systemcmds/tests/test_mount.c b/src/systemcmds/tests/test_mount.c index 9a98ae5896..c5d6a6818a 100644 --- a/src/systemcmds/tests/test_mount.c +++ b/src/systemcmds/tests/test_mount.c @@ -158,7 +158,7 @@ test_mount(int argc, char *argv[]) } if (it_left_abort == 0) { - px4_close(cmd_fd); + close(cmd_fd); (void)unlink(cmd_filename); return 0; }