| 362 | } |
| 363 | |
| 364 | static void child_warn_fn(const char *err UNUSED, va_list params UNUSED) |
| 365 | { |
| 366 | const char msg[] = "warn() should not be called in child\n"; |
| 367 | xwrite(2, msg, sizeof(msg) - 1); |
| 368 | } |
| 369 | |
| 370 | static void NORETURN child_die_fn(const char *err UNUSED, va_list params UNUSED) |
| 371 | { |