/* Open/create errors are reported with an console message in TFShark.  */
static void open_failure_message(const char *filename, int err, gboolean for_writing)
/* Open/create errors are reported with an console message in TFShark.  */
static void open_failure_message(const char *filename, int err, gboolean for_writing)
{
  fprintf(stderr, "tfshark: ");
  fprintf(stderr, file_open_error_message(err, for_writing), filename);
  fprintf(stderr, "\n");
}