fclose(fp);
}
else
- fprintf(stderr, "DEBUG: Unable to open font file \"%s\" - %s\n",
- filename, strerror(errno));
+ {
+ _cupsLangPrintError("ERROR", _("Unable to open print file"));
+ fprintf(stderr, "DEBUG: Unable to open \"%s\".\n", filename);
+ }
puts("\n%%EndResource");
}
else
{
_cupsLangPrintError("ERROR", _("Unable to open print file"));
+ fprintf(stderr, "DEBUG: Unable to open \"%s\".\n", filename);
exit(1);
}
*/
_cupsLangPrintError("ERROR", _("Unable to open print file"));
+ fprintf(stderr, "DEBUG: Unable to open \"%s\".\n", filename);
exit(1);
}