FreeBSD/sys/kern/kern_shutdown.c
/*
 * Panic is called on unresolvable fatal errors.  It prints "panic: mesg",
 * and then reboots.  If we are called twice, then we avoid trying to sync
 * the disks as this often leads to recursive panics.
 */
Panic is called on unresolvable fatal errors.  It prints "panic: mesg",
and then reboots.  If we are called twice, then we avoid trying to sync
the disks as this often leads to recursive panics.
Panic is called on unresolvable fatal errors . It prints " panic : mesg " and then reboots . If we are called twice then we avoid trying to sync the disks as this often leads to recursive panics .
void
panic(const char *fmt, ...)
{
	va_list ap;
	va_start(ap, fmt);
	vpanic(fmt, ap);
}
void panic ( const char * fmt , ... ) { va_list ap ; va_start ( ap , fmt ) ; vpanic ( fmt , ap ) ; }
Panic is called on unresolvable fatal errors.
Panic is called on unresolvable fatal errors .