/* Report additional information for an error in command-line arguments. If we're a capture child, send a message back to the parent, otherwise just print it.  */
static void dumpcap_cmdarg_err_cont(const char *fmt, va_list ap)
/* Report additional information for an error in command-line arguments. If we're a capture child, send a message back to the parent, otherwise just print it.  */
static void dumpcap_cmdarg_err_cont(const char *fmt, va_list ap)
{
    if (capture_child) {
        gchar *msg;
        msg = g_strdup_vprintf(fmt, ap);
        sync_pipe_errmsg_to_parent(2, msg, "");
        g_free(msg);
    } else {
        vfprintf(stderr, fmt, ap);
        fprintf(stderr, "\n");
    }
}