diff --git a/Logging.cpp b/Logging.cpp
index aede239..b96a33c 100644
--- a/Logging.cpp
+++ b/Logging.cpp
@@ -8,8 +8,8 @@ void Logging::Init(int level, long baud){
void Logging::Error(char* msg, ...){
if (LOG_LEVEL_ERRORS <= _level) {
- print ("ERROR: ",0);
va_list args;
+ print ("ERROR: ", args);
va_start(args, msg);
print(msg,args);
}
Arduino-logging-library also has an error that I have to fix: