| 179 | } |
| 180 | |
| 181 | static void db_error(void *unused, bool fatal, const char *fmt, va_list ap) |
| 182 | { |
| 183 | vfprintf(stderr, fmt, ap); |
| 184 | fprintf(stderr, "\n"); |
| 185 | if (fatal) |
| 186 | exit(ERROR_DBFAIL); |
| 187 | } |
| 188 | |
| 189 | /* The standard opt_log_stderr_exit exits with status 1 */ |
| 190 | static void opt_log_stderr_exit_usage(const char *fmt, ...) |
nothing calls this directly
no outgoing calls
no test coverage detected