Or `make check' fails when building with -Werror=format-security
(which is what Launchpad uses).
Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
processingData->testCase= fopen(testCaseName, "r");
if (processingData->testCase == NULL)
{
processingData->testCase= fopen(testCaseName, "r");
if (processingData->testCase == NULL)
{
- g_error(strerror(errno));
+ g_error("%s", strerror(errno));
}
syncState->traceNb= readTraceNb(processingData->testCase);
}
syncState->traceNb= readTraceNb(processingData->testCase);
if (retval == -1 && !feof(testCase))
{
if (retval == -1 && !feof(testCase))
{
- g_error(strerror(errno));
+ g_error("%s", strerror(errno));
}
if (line[retval - 1] == '\n')
}
if (line[retval - 1] == '\n')
&sendTime, &recvTime, &tmp);
if (retval == EOF)
{
&sendTime, &recvTime, &tmp);
if (retval == EOF)
{
- g_error(strerror(errno));
+ g_error("%s", strerror(errno));
}
else if (retval != 4)
{
}
else if (retval != 4)
{
- g_error(strerror(errno));
+ g_error("%s", strerror(errno));
}
}
if (line[retval - 1] == '\n')
}
}
if (line[retval - 1] == '\n')
- g_error(strerror(errno));
+ g_error("%s", strerror(errno));
if (fclose(syncState->graphsStream) != 0)
{
if (fclose(syncState->graphsStream) != 0)
{
- g_error(strerror(errno));
+ g_error("%s", strerror(errno));