commit e3ce19dcc10299ab7bd24b01b123e61bc0f44b4e from: Omar Polo date: Sat Jul 01 14:22:26 2023 UTC change on fatalx -> log_warnx we already check the validity of the format string, but still avoid a gratious fatal() at runtime. commit - 80192f45899c121c28afa65b7b2e7230f3b4fedf commit + e3ce19dcc10299ab7bd24b01b123e61bc0f44b4e blob - 13024cb2d85b045ea33f2d8c1b21ffc2530e0aee blob + 235aa6e28e3656f661ed14b31162f73db13211bd --- server.c +++ server.c @@ -485,7 +485,7 @@ fmtbuf(char *buf, size_t buflen, const char *fmt, stru strlcat(buf, c->domain, buflen); break; default: - fatalx("%s: unknown fmt specifier %c", + log_warnx("%s: unknown fmt specifier %c", __func__, *fmt); } }