| 417 | } |
| 418 | |
| 419 | __attribute__((format (printf, 2, 3))) |
| 420 | static void err(struct add_p_state *s, const char *fmt, ...) |
| 421 | { |
| 422 | va_list args; |
| 423 | |
| 424 | va_start(args, fmt); |
| 425 | fputs(s->cfg.error_color, stdout); |
| 426 | vprintf(fmt, args); |
| 427 | puts(s->cfg.reset_color_interactive); |
| 428 | va_end(args); |
| 429 | } |
| 430 | |
| 431 | LAST_ARG_MUST_BE_NULL |
| 432 | static void setup_child_process(struct add_p_state *s, |
no outgoing calls
no test coverage detected