From 168c7442323f7c8adb47ddb7617c63f5d05fad3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Tue, 14 Jun 2016 14:41:40 +0200 Subject: [PATCH] replay: fix string printf output: add .c_str() --- src/modules/replay/replay_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/replay/replay_main.cpp b/src/modules/replay/replay_main.cpp index 4db9d36cc6..795d358446 100644 --- a/src/modules/replay/replay_main.cpp +++ b/src/modules/replay/replay_main.cpp @@ -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; }