mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
In check_track_format() the base error message is the same for all cases but has different additional content depending on which mode dasdfmt is running. Currently the message is compiled by using different outputs. To make it a little bit cleaner and for a better error message handling, construct the message string completely before passing it to the error() function for output. Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>