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 16:24:55 +02:00 committed by Lorenz Meier
parent 40dff737c5
commit 73ef772537
1 changed files with 1 additions and 1 deletions

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;
}