diff --git a/src/drivers/px4io/px4io.cpp b/src/drivers/px4io/px4io.cpp index f8599ca571..dd9f2f7d77 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); }