| 63 | } |
| 64 | |
| 65 | static struct command_result *WARN_UNUSED_RESULT |
| 66 | fail_inv(struct command *cmd, |
| 67 | const struct inv *inv, |
| 68 | const char *fmt, ...) |
| 69 | { |
| 70 | va_list ap; |
| 71 | struct command_result *ret; |
| 72 | |
| 73 | va_start(ap, fmt); |
| 74 | ret = fail_inv_level(cmd, inv, LOG_DBG, fmt, ap); |
| 75 | va_end(ap); |
| 76 | |
| 77 | return ret; |
| 78 | } |
| 79 | |
| 80 | static struct command_result *WARN_UNUSED_RESULT |
| 81 | fail_internalerr(struct command *cmd, |