diff options
author | miko <miko@cvs.openbsd.org> | 2018-09-01 12:03:32 +0000 |
---|---|---|
committer | miko <miko@cvs.openbsd.org> | 2018-09-01 12:03:32 +0000 |
commit | a85f06c8b565f245ef061243fce22338aa442a94 (patch) | |
tree | 2133d5302e65dc5db8a3b88074eb6ecee32764f6 | |
parent | 2436a93e4323af54ee23bebc1e826c19a7618934 (diff) |
sync fatalx() message between smtp_client_{state,response}; ok stsp@ gilles@
-rw-r--r-- | usr.sbin/smtpd/smtp_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtp_client.c b/usr.sbin/smtpd/smtp_client.c index 8b28f3a6d86..e1f75437dfb 100644 --- a/usr.sbin/smtpd/smtp_client.c +++ b/usr.sbin/smtpd/smtp_client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtp_client.c,v 1.6 2018/08/30 11:58:01 eric Exp $ */ +/* $OpenBSD: smtp_client.c,v 1.7 2018/09/01 12:03:31 miko Exp $ */ /* * Copyright (c) 2018 Eric Faurot <eric@openbsd.org> @@ -420,7 +420,7 @@ smtp_client_state(struct smtp_client *proto, int newstate) break; default: - fatalx("smtp_client_state: unknown state"); + fatalx("%s: bad state %d", __func__, proto->state); } #undef smtp_client_state } |