diff --git a/sched/validate_test.C b/sched/validate_test.C index 85c281ca4a..02a9f196bc 100644 --- a/sched/validate_test.C +++ b/sched/validate_test.C @@ -152,13 +152,15 @@ int check_pair(RESULT& r1, RESULT& r2, bool& match) { get_output_file_path(r1, path); retval = read_file_malloc(path, p1); if (retval) { - log_messages.printf(SchedMessages::CRITICAL, "read_file_malloc %s %d\n", path, retval); + log_messages.printf(SchedMessages::CRITICAL, "[RESULT#%d %s] [RESULT#%d %s] Couldn't open %s (r1: read_file_malloc()=%d)\n", + r1.id, r1.name, r2.id, r2.name, path, retval); return retval; } get_output_file_path(r2, path); retval = read_file_malloc(path, p2); if (retval) { - log_messages.printf(SchedMessages::CRITICAL, "read_file_malloc %s %d\n", path, retval); + log_messages.printf(SchedMessages::CRITICAL, "[RESULT#%d %s] [RESULT#%d %s] Couldn't open %s (r2: read_file_malloc()=%d)\n", + r1.id, r1.name, r2.id, r2.name, path, retval); return retval; } match = !strcmp(p1, p2);