diff options
author | Omar Polo <op@omarpolo.com> | 2023-07-01 14:22:26 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-07-01 14:22:26 +0000 |
commit | e3ce19dcc10299ab7bd24b01b123e61bc0f44b4e (patch) | |
tree | 5c81752e2426209f736f44970216a20fe3e64967 /server.c | |
parent | 80192f45899c121c28afa65b7b2e7230f3b4fedf (diff) |
change on fatalx -> log_warnx
we already check the validity of the format string, but still avoid a
gratious fatal() at runtime.
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -485,7 +485,7 @@ fmtbuf(char *buf, size_t buflen, const char *fmt, struct client *c, strlcat(buf, c->domain, buflen); break; default: - fatalx("%s: unknown fmt specifier %c", + log_warnx("%s: unknown fmt specifier %c", __func__, *fmt); } } |