From 65c46ac322e34710fdcecf4eea4be4425b42da7b Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 23 Jul 2019 18:33:09 +1000 Subject: [PATCH] AP_AccelCal: supply format string to send_text --- libraries/AP_AccelCal/AP_AccelCal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_AccelCal/AP_AccelCal.cpp b/libraries/AP_AccelCal/AP_AccelCal.cpp index fb4ff80df6..72bdb2c9c0 100644 --- a/libraries/AP_AccelCal/AP_AccelCal.cpp +++ b/libraries/AP_AccelCal/AP_AccelCal.cpp @@ -397,6 +397,6 @@ void AP_AccelCal::_printf(const char* fmt, ...) } #if !APM_BUILD_TYPE(APM_BUILD_Replay) - _gcs->send_text(MAV_SEVERITY_CRITICAL, msg); + _gcs->send_text(MAV_SEVERITY_CRITICAL, "%s", msg); #endif }