]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
dhclient: recorrect __progname to getprogname()
authorEitan Adler <eadler@FreeBSD.org>
Mon, 25 Jun 2018 01:29:54 +0000 (01:29 +0000)
committerEitan Adler <eadler@FreeBSD.org>
Mon, 25 Jun 2018 01:29:54 +0000 (01:29 +0000)
commitb537db698cd4bf459e6ba02beef3d3faea214837
treed5178a1f2ce936c4ed7686fdca6291ce8a0e17c5
parentadcd95974d1c50b0f3add0e5de2f416e4a69cb2f
dhclient: recorrect __progname to getprogname()

A more correct way to modernize code that uses __progname is to just
replace each occurance of it with a call to getprogname(3)

Reported by: ian
Reviewed by: imp
sbin/dhclient/dhclient.c