replay: fix string printf output: add .c_str()

This commit is contained in:
Beat Küng
2016-06-14 14:41:40 +02:00
committed by Lorenz Meier
parent 6e44760819
commit 168c744232

View File

@@ -316,7 +316,7 @@ bool Replay::readAndAddSubscription(std::ifstream &file, uint16_t msg_size)
timestamp_found = true;
if (type_name_full != "uint64_t") {
PX4_ERR("Unsupported timestamp type %s, ignoring the topic %s", type_name_full,
PX4_ERR("Unsupported timestamp type %s, ignoring the topic %s", type_name_full.c_str(),
orb_meta->o_name);
return true;
}