* 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. */
| 835 | * the disks as this often leads to recursive panics. |
| 836 | */ |
| 837 | void |
| 838 | panic(const char *fmt, ...) |
| 839 | { |
| 840 | va_list ap; |
| 841 | |
| 842 | va_start(ap, fmt); |
| 843 | vpanic(fmt, ap); |
| 844 | } |
| 845 | |
| 846 | void |
| 847 | vpanic(const char *fmt, va_list ap) |