From 7fb5f4d45c6fdd11778942ca160f0146c4a2c2b6 Mon Sep 17 00:00:00 2001 From: Mark Charlebois Date: Wed, 20 Jan 2016 21:37:38 -0800 Subject: [PATCH] Whitespace fixes Signed-off-by: Mark Charlebois --- src/platforms/posix/tests/vcdev_test/vcdevtest_example.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platforms/posix/tests/vcdev_test/vcdevtest_example.cpp b/src/platforms/posix/tests/vcdev_test/vcdevtest_example.cpp index 9ed4fbd2679..51d876b91b3 100644 --- a/src/platforms/posix/tests/vcdev_test/vcdevtest_example.cpp +++ b/src/platforms/posix/tests/vcdev_test/vcdevtest_example.cpp @@ -60,6 +60,7 @@ static int writer_main(int argc, char *argv[]) char buf[1]; int fd = px4_open(TESTDEV, PX4_F_WRONLY); + if (fd < 0) { PX4_INFO("Writer: Open failed %d %d", fd, px4_errno); return -px4_errno;