|
12 | 12 | * All rights reserved. |
13 | 13 | * Copyright (c) 2007-2015 Los Alamos National Security, LLC. All rights |
14 | 14 | * reserved. |
15 | | - * Copyright (c) 2008-2014 Cisco Systems, Inc. All rights reserved. |
| 15 | + * Copyright (c) 2008-2016 Cisco Systems, Inc. All rights reserved. |
16 | 16 | * Copyright (c) 2013 Intel, Inc. All rights reserved |
17 | 17 | * Copyright (c) 2014 NVIDIA Corporation. All rights reserved. |
18 | 18 | * Copyright (c) 2014 Research Organization for Information Science |
@@ -150,7 +150,7 @@ static mca_bml_base_endpoint_t *mca_bml_r2_allocate_endpoint (ompi_proc_t *proc) |
150 | 150 | /* allocate bml specific proc data */ |
151 | 151 | bml_endpoint = OBJ_NEW(mca_bml_base_endpoint_t); |
152 | 152 | if (NULL == bml_endpoint) { |
153 | | - opal_output(0, "mca_bml_r2_add_procs: unable to allocate resources"); |
| 153 | + opal_output(0, "%s: unable to allocate resources", __func__); |
154 | 154 | return NULL; |
155 | 155 | } |
156 | 156 |
|
@@ -197,15 +197,16 @@ static int mca_bml_r2_endpoint_add_btl (struct ompi_proc_t *proc, mca_bml_base_e |
197 | 197 | /* NTH: these flags should have been sanitized by the btl. Once that is verified these |
198 | 198 | * checks can be safely removed. */ |
199 | 199 | if ((btl_flags & MCA_BTL_FLAGS_PUT) && (NULL == btl->btl_put)) { |
200 | | - opal_output(0, "mca_bml_r2_add_procs: The PUT flag is specified for" |
| 200 | + opal_output(0, "%s: The PUT flag is specified for" |
201 | 201 | " the %s BTL without any PUT function attached. Discard the flag !", |
| 202 | + __func__, |
202 | 203 | btl->btl_component->btl_version.mca_component_name); |
203 | 204 | btl_flags ^= MCA_BTL_FLAGS_PUT; |
204 | 205 | } |
205 | 206 | if ((btl_flags & MCA_BTL_FLAGS_GET) && (NULL == btl->btl_get)) { |
206 | | - opal_output(0, "mca_bml_r2_add_procs: The GET flag is specified for" |
| 207 | + opal_output(0, "%s: The GET flag is specified for" |
207 | 208 | " the %s BTL without any GET function attached. Discard the flag !", |
208 | | - btl->btl_component->btl_version.mca_component_name); |
| 209 | + __func__, btl->btl_component->btl_version.mca_component_name); |
209 | 210 | btl_flags ^= MCA_BTL_FLAGS_GET; |
210 | 211 | } |
211 | 212 |
|
|
0 commit comments