| 424 | } |
| 425 | |
| 426 | static void |
| 427 | prf_putbuf(char *bufr, int flags, int pri) |
| 428 | { |
| 429 | |
| 430 | if (flags & TOLOG) |
| 431 | msglogstr(bufr, pri, /*filter_cr*/1); |
| 432 | |
| 433 | if (flags & TOCONS) { |
| 434 | if ((!KERNEL_PANICKED()) && (constty != NULL)) |
| 435 | msgbuf_addstr(&consmsgbuf, -1, |
| 436 | bufr, /*filter_cr*/ 0); |
| 437 | |
| 438 | if ((constty == NULL) ||(always_console_output)) |
| 439 | cnputs(bufr); |
| 440 | } |
| 441 | } |
| 442 | |
| 443 | static void |
| 444 | putbuf(int c, struct putchar_arg *ap) |
no test coverage detected