if (stat(filename, &file_status) != 0)
{
- Error("cannot stat file '%s'\n", filename);
+ Error("cannot stat file '%s'", filename);
return NULL;
}
if (!(file = fopen(filename, MODE_READ)))
{
- Error("cannot open file '%s'\n", filename);
+ Error("cannot open file '%s'", filename);
checked_free(buffer);
if (c == EOF)
{
- Error("cannot read from input file '%s'\n", filename);
+ Error("cannot read from input file '%s'", filename);
fclose(file);
checked_free(buffer);