Avoid passing NULL to vprintf() by assigning a name to client processes. While
authoranton <anton@openbsd.org>
Sat, 27 Jan 2018 08:32:03 +0000 (08:32 +0000)
committeranton <anton@openbsd.org>
Sat, 27 Jan 2018 08:32:03 +0000 (08:32 +0000)
commitfb531d31240229fc86b0a98b0fa026e5dac2fda3
treee0b493c225788cac2c8a0b7f98bed95c0dea2d92
parent174c5efd49346c9b0778c3cc1d49fabd66de03a7
Avoid passing NULL to vprintf() by assigning a name to client processes. While
here rework the switch proc_title(), both clang and gcc will now warn if all
possible values are not enumerated.

ok gilles@
usr.sbin/smtpd/control.c
usr.sbin/smtpd/smtpd.c