From 3893a5a1de7b625a02d82cf9faea279f87fb6227 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Wed, 13 Jul 2011 14:18:00 +0000 Subject: [PATCH] Fix compile error introduced in r24888. This commit was SVN r24889. The following SVN revision numbers were found above: r24888 --> open-mpi/ompi@e5253647ea15ba5af49c31cbcd5d1dcf930c3670 --- orte/mca/rml/oob/rml_oob_component.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/orte/mca/rml/oob/rml_oob_component.c b/orte/mca/rml/oob/rml_oob_component.c index 5f95326210..33cac6f949 100644 --- a/orte/mca/rml/oob/rml_oob_component.c +++ b/orte/mca/rml/oob/rml_oob_component.c @@ -513,8 +513,9 @@ rml_oob_recv_route_callback(int status, ORTE_RML_OOB_MSG_HEADER_HTON(*hdr); - /* NTH: fix potential race condition. oob may modify iov before the oob send completes */ - new_iov = (iovec*) calloc (count, sizeof (struct iovec)); + /* NTH: fix potential race condition. oob may modify iov before + the oob send completes */ + new_iov = (struct iovec*) calloc (count, sizeof (struct iovec)); if (NULL == new_iov) { opal_output (0, "%s:route_callback malloc error!", ORTE_NAME_PRINT(ORTE_PROC_MY_NAME)); opal_backtrace_print(stderr);