errorq_panic_drain
if (errorq_panic_drain(ERRORQ_VITAL) <= errorq_vitalmin)
(void) errorq_panic_drain(0);
(void) errorq_panic_drain(ERRORQ_VITAL | ERRORQ_NVLIST);
(void) errorq_panic_drain(ERRORQ_NVLIST);