Skip to content

Commit de52254

Browse files
committed
Fix ORTE_FORCED_TERMINATE message
The format string expects to see the file and line before the error text and code. Signed-off-by: Orivej Desh <[email protected]>
1 parent 5cb3932 commit de52254

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

orte/mca/state/state.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ ORTE_DECLSPEC extern mca_base_framework_t orte_state_base_framework;
7070
if (!orte_abnormal_term_ordered) { \
7171
orte_errmgr.abort((x), "%s FORCE-TERMINATE AT %s:%d - error %s(%d)", \
7272
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), \
73-
ORTE_ERROR_NAME((x)), (x), \
74-
__FILE__, __LINE__); \
73+
__FILE__, __LINE__, \
74+
ORTE_ERROR_NAME((x)), (x)); \
7575
} \
7676
} while(0);
7777

0 commit comments

Comments
 (0)