Replace program_invocation_short_name with argv[0]
commit497a30b22bd05bc0d9b3de6c8ff53a96b3a58817
authorMateusz Piotrowski <0mp@FreeBSD.org>
Fri, 13 Nov 2020 13:43:42 +0000 (13 14:43 +0100)
committerMateusz Piotrowski <0mp@FreeBSD.org>
Tue, 24 Nov 2020 00:27:22 +0000 (24 01:27 +0100)
tree69708e1e182f512e1269f964b310461c1c1a5614
parent049396aab18849eef257af1116951a83416339e6
Replace program_invocation_short_name with argv[0]

It's good enough for our purpose and it is more portable. Also, because
argv[0] is not globally accessible, let's define a new global variable
for that called progname.
evtest.c