/* Write errors are reported with an console message in Rawshark.  */
static void write_failure_message(const char *filename, int err)
/* Write errors are reported with an console message in Rawshark.  */
static void write_failure_message(const char *filename, int err)
{
    cmdarg_err("An error occurred while writing to the file \"%s\": %s.",
               filename, g_strerror(err));
}