S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP | S_IROTH
| S_IWOTH | S_IXOTH)) == -1)
{
- g_error(strerror(errno));
+ g_error("%s", strerror(errno));
}
if ((result= fdopen(graphsFp, "w")) == NULL)
{
- g_error(strerror(errno));
+ g_error("%s", strerror(errno));
}
fprintf(result,
retval= chdir(cwd);
if (retval == -1)
{
- g_error(strerror(errno));
+ g_error("%s", strerror(errno));
}
free(cwd);
cwd= getcwd(NULL, 0);
if (cwd == NULL)
{
- g_error(strerror(errno));
+ g_error("%s", strerror(errno));
}
while ((retval= chdir(graphsDir)) != 0)
{
S_IWGRP | S_IXGRP | S_IROTH | S_IWOTH | S_IXOTH);
if (retval != 0)
{
- g_error(strerror(errno));
+ g_error("%s", strerror(errno));
}
}
else
{
- g_error(strerror(errno));
+ g_error("%s", strerror(errno));
}
}
if (ftruncate(fileno(syncState->graphsStream), trunc) == -1)
{
- g_error(strerror(errno));
+ g_error("%s", strerror(errno));
}
if (fseek(syncState->graphsStream, 0, SEEK_END) == -1)
{
- g_error(strerror(errno));
+ g_error("%s", strerror(errno));
}
fprintf(syncState->graphsStream,