Fix erroneous use of px4_close

* Close handle opened with `open` with `close` as indicated by @bkueng
This commit is contained in:
Peter Duerr
2017-08-07 22:05:17 +02:00
committed by Lorenz Meier
parent 40dff737c5
commit 73ef772537
+1 -1
View File
@@ -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;
}