Don't use log_procname before it is initialized. In particular
authorkrw <krw@openbsd.org>
Wed, 25 Aug 2021 21:07:47 +0000 (21:07 +0000)
committerkrw <krw@openbsd.org>
Wed, 25 Aug 2021 21:07:47 +0000 (21:07 +0000)
commitcb37a816db87714d8e7be92749e38903b172bc41
treedaaaf2c9b1d7adcdd3f6d91780149d914d920ce8
parent63cabfda250b4cfc3b0d989baf2ccdd32985352c
Don't use log_procname before it is initialized. In particular
set_iff_up() is called from initialize_interface() and was using
log_procname instead of ifi->name in its fatal()'s.

Diagnosed by tb@ from a recent reddit post by zielonykid1234.
sbin/dhclient/dhclient.c