diff --git a/libraries/AP_Logger/AP_Logger_Backend.cpp b/libraries/AP_Logger/AP_Logger_Backend.cpp index 6d9db1a43b..e2f18ef6fe 100644 --- a/libraries/AP_Logger/AP_Logger_Backend.cpp +++ b/libraries/AP_Logger/AP_Logger_Backend.cpp @@ -403,7 +403,7 @@ void AP_Logger_Backend::validate_WritePrioritisedBlock(const void *pBuffer, } else { strncpy(name, "?NM?", ARRAY_SIZE(name)); } - AP_HAL::panic("Size mismatch for %u (%s) (expected=%u got=%u)\n", + AP_HAL::panic("Size mismatch for %u (%s) (expected=%u got=%u)", type, name, type_len, size); } }