mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
In the process of switching to glibc defined error functions it becomes apparent that self-defined error functions that do special things are not in line with the output of the glibc functions. To address this, set the prog_name variable to the last component of the program name (stored in argv[0]) and guarantee a uniform error output. Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>