1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Added missing parameter for syslog(3)

This commit is contained in:
Ruben S. Montero 2016-09-01 18:15:22 +02:00
parent 9bbeb7f608
commit 3ccdd7961d

View File

@ -201,7 +201,7 @@ void SysLog::log(
<< "[" << error_names[type] << "]: "
<< line;
syslog(slevel, oss.str().c_str());
syslog(slevel, "%s", oss.str().c_str());
}
}
}