projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix format string warnings
[lttv.git]
/
lttv
/
lttv
/
sync
/
event_processing_text.c
diff --git
a/lttv/lttv/sync/event_processing_text.c
b/lttv/lttv/sync/event_processing_text.c
index bcbea9b2565a24e73b044318dfc6aae352d1d144..a99d0e3934d45dd0b0c8a132a77d3c393692fb43 100644
(file)
--- a/
lttv/lttv/sync/event_processing_text.c
+++ b/
lttv/lttv/sync/event_processing_text.c
@@
-95,7
+95,7
@@
static void initProcessingText(SyncState* const syncState, ...)
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);
@@
-162,7
+162,7
@@
static AllFactors* finalizeProcessingText(SyncState* const syncState)
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')
@@
-174,7
+174,7
@@
static AllFactors* finalizeProcessingText(SyncState* const syncState)
&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)
{
@@
-311,7
+311,7
@@
static unsigned int readTraceNb(FILE* testCase)
}
else
{
}
else
{
- g_error(strerror(errno));
+ g_error(
"%s",
strerror(errno));
}
}
if (line[retval - 1] == '\n')
}
}
if (line[retval - 1] == '\n')
@@
-365,7
+365,7
@@
static void skipCommentLines(FILE* testCase)
}
else
{
}
else
{
- g_error(strerror(errno));
+ g_error(
"%s",
strerror(errno));
}
}
}
}
}
}
This page took
0.023949 seconds
and
4
git commands to generate.