diff -ur /usr/src/sys/kern/kern_shutdown.c src/sys/kern/kern_shutdown.c --- /usr/src/sys/kern/kern_shutdown.c Tue Apr 12 07:45:58 2005 +++ src/sys/kern/kern_shutdown.c Mon Aug 22 20:23:04 2005 @@ -123,6 +123,12 @@ static void shutdown_panic(void *junk, int howto); static void shutdown_reset(void *junk, int howto); +const char cow[] = "\n \\ ^__^\n" +" \\ (oo)\\_______\n" +" (__)\\ )\\/\\\n" +" ||----w |\n" +" || ||\n"; + /* register various local shutdown events */ static void shutdown_conf(void *unused) @@ -488,7 +494,7 @@ panic(const char *fmt, ...) { struct thread *td = curthread; - int bootopt, newpanic; + int bootopt, newpanic, i; va_list ap; static char buf[256]; @@ -519,11 +525,17 @@ if (newpanic) { (void)vsnprintf(buf, sizeof(buf), fmt, ap); panicstr = buf; - printf("panic: %s\n", buf); + printf(" "); + for (i = 0; i < strlen(buf); i++) + printf("_"); + printf("\n< %s >\n ", buf); + for (i = 0; i < strlen(buf); i++) + printf("-"); + printf(cow); } else { printf("panic: "); vprintf(fmt, ap); - printf("\n"); + printf(cow); } va_end(ap); #ifdef SMP