aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/drivers/px4io/px4io.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/px4io/px4io.cpp b/src/drivers/px4io/px4io.cpp
index f8599ca57..dd9f2f7d7 100644
--- a/src/drivers/px4io/px4io.cpp
+++ b/src/drivers/px4io/px4io.cpp
@@ -2856,10 +2856,10 @@ checkcrc(int argc, char *argv[])
}
if (ret != OK) {
- printf("[PX4IO::checkcrc] check CRC failed - %d\n", ret);
+ warn("check CRC failed - %d", ret);
exit(1);
}
- printf("[PX4IO::checkcrc] CRCs match\n");
+ warnx("CRCs match\n");
exit(0);
}