bootopt = RB_AUTOBOOT; newpanic = 0; if (panicstr) bootopt |= RB_NOSYNC; else { bootopt |= RB_DUMP; panicstr = fmt; newpanic = 1; } printf("\n o _ _ _\n"); printf(" _o /\\_ _ \\\\o (_)\\__/o (_)\n"); printf(" _< \\_ _>(_) (_)/<_ \\_| \\ _|/' \\/\n"); printf(" (_)>(_) (_) (_) (_) (_)' _\\o_\n\n"); va_start(ap, fmt); if (newpanic) { (void)vsnprintf(buf, sizeof(buf), fmt, ap); panicstr = buf; cngrab(); printf("panic: %s\n", buf); } else { printf("panic: "); vprintf(fmt, ap); printf("\n"); } va_end(ap);