diff --git a/test/zdtm/lib/zdtmtst.h b/test/zdtm/lib/zdtmtst.h index d5b2d39a6..800541b2a 100644 --- a/test/zdtm/lib/zdtmtst.h +++ b/test/zdtm/lib/zdtmtst.h @@ -87,10 +87,10 @@ extern int parse_opt_string(char *param, void *arg); extern void setup_outfile(void); extern int test_log_init(const char *outfile, const char *suffix); #define err(format, arg...) \ - test_msg("ERR: %s:%d: " format " (errno = %d)\n", \ + test_msg("ERR: %s:%d: " format " (errno = %d (%m))\n", \ __FILE__, __LINE__, ## arg, errno) #define fail(format, arg...) \ - test_msg("FAIL: %s:%d: " format " (errno = %d)\n", \ + test_msg("FAIL: %s:%d: " format " (errno = %d (%m))\n", \ __FILE__, __LINE__, ## arg, errno) #define skip(format, arg...) \ test_msg("SKIP: %s:%d: " format "\n", \