| 421 | |
| 422 | #ifndef _KERNEL |
| 423 | static bool |
| 424 | nvlist_dump_error_check(const nvlist_t *nvl, int fd, int level) |
| 425 | { |
| 426 | |
| 427 | if (nvlist_error(nvl) != 0) { |
| 428 | dprintf(fd, "%*serror: %d\n", level * 4, "", |
| 429 | nvlist_error(nvl)); |
| 430 | return (true); |
| 431 | } |
| 432 | |
| 433 | return (false); |
| 434 | } |
| 435 | |
| 436 | /* |
| 437 | * Dump content of nvlist. |
no test coverage detected