make err.h functions print __progname
authorRich Felker <dalias@aerifal.cx>
Sat, 18 May 2013 14:20:42 +0000 (10:20 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 18 May 2013 14:20:42 +0000 (10:20 -0400)
commit69ee9b2cb169ee843ac9e209f919d088499152f7
tree99ed9ef7fb0b925084db87dc9f740fa6c866c28a
parent22730d65608db06500cc6e0be4aaec03238f996b
make err.h functions print __progname

patch by Strake. previously is was not feasible to duplicate this
functionality of the functions these were modeled on, since argv[0]
was not saved at program startup, but now that it's available it's
easy to use.
src/legacy/err.c