From be95b6856cad8f7b1b7d244820ac0a55fe1f795f Mon Sep 17 00:00:00 2001 From: Stefan Mertl Date: Thu, 18 Jan 2018 16:09:59 +0100 Subject: [PATCH] Fixed wrong method access. --- software/c++/ruwaicom/src/ruwaicom.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/software/c++/ruwaicom/src/ruwaicom.cpp b/software/c++/ruwaicom/src/ruwaicom.cpp index 62d4ba8..b1df9b6 100644 --- a/software/c++/ruwaicom/src/ruwaicom.cpp +++ b/software/c++/ruwaicom/src/ruwaicom.cpp @@ -87,6 +87,7 @@ int main(int argc, char* argv[]) syslog(LOG_NOTICE, "Git revision: %s.", GIT_VERSION); Root root = Root(config_file); + syslog(LOG_NOTICE, "Starting the root..."); if (root.storage_mode == "sd") { @@ -105,7 +106,6 @@ int main(int argc, char* argv[]) } } - syslog(LOG_NOTICE, "Starting the root..."); if (root.ready()) { root.clear_tmp_dir(); @@ -114,7 +114,7 @@ int main(int argc, char* argv[]) else { syslog(LOG_ERR, "The root is not ready. Can't start it. Good bye."); - root.display.print("Had a problem.", "Check log."); + root.display->print("Had a problem.", "Check log."); } syslog(LOG_NOTICE, "Exiting ruwaicom."); -- 2.11.4.GIT