diff --git a/selfdrive/ui/qt/text.cc b/selfdrive/ui/qt/text.cc index e451fd54bd..537af84dbb 100644 --- a/selfdrive/ui/qt/text.cc +++ b/selfdrive/ui/qt/text.cc @@ -77,7 +77,7 @@ int main(int argc, char *argv[]) { QFuture future = QtConcurrent::run([=]() { std::string output = executeCommand(cmd.c_str()); - LOGW("Forcing update for %s", output); + LOGW("Forcing update for %s", output.c_str()); QMetaObject::invokeMethod(label, "setText", Qt::QueuedConnection, Q_ARG(QString, QString::fromStdString(output))); QMetaObject::invokeMethod(scroll, "update", Qt::QueuedConnection);