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