diff options
-rw-r--r-- | src/diagnostic/diagnostic-manager.cpp | 2 | ||||
-rw-r--r-- | src/diagnostic/diagnostic-manager.hpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/diagnostic/diagnostic-manager.cpp b/src/diagnostic/diagnostic-manager.cpp index 501c05a..4509407 100644 --- a/src/diagnostic/diagnostic-manager.cpp +++ b/src/diagnostic/diagnostic-manager.cpp @@ -23,7 +23,7 @@ diagnostic_manager_t::diagnostic_manager_t(can_bus_dev_t& bus) : bus_(bus) {} -void diagnostic_manager_t::shims_logger(const char* m) +void diagnostic_manager_t::shims_logger(const char* m, ...) { DEBUG(binder_interface, "%s", m); } diff --git a/src/diagnostic/diagnostic-manager.hpp b/src/diagnostic/diagnostic-manager.hpp index 8aa9240..4414aa5 100644 --- a/src/diagnostic/diagnostic-manager.hpp +++ b/src/diagnostic/diagnostic-manager.hpp @@ -39,8 +39,8 @@ */ class diagnostic_manager_t { protected: - void shims_logger(const char* m); - void shims_timer(); + static void shims_logger(const char* m, ...); + static void shims_timer(); private: DiagnosticShims shims_; /*!< shims_ - An array of shim functions for each CAN bus that plug the diagnostics |