openmpi/openmpi-format.patch

13 lines
583 B
Diff
Raw Normal View History

diff -up openmpi-1.7.3/ompi/mca/btl/usnic/btl_usnic_module.c.format openmpi-1.7.3/ompi/mca/btl/usnic/btl_usnic_module.c
--- openmpi-1.7.3/ompi/mca/btl/usnic/btl_usnic_module.c.format 2013-10-01 16:13:44.000000000 -0600
+++ openmpi-1.7.3/ompi/mca/btl/usnic/btl_usnic_module.c 2013-12-03 16:35:41.206022575 -0700
@@ -826,7 +826,7 @@ static void usnic_stats_callback(int fd,
}
strncat(str, tmp, sizeof(str) - strlen(str) - 1);
- opal_output(0, str);
+ opal_output(0, "%s", str);
if (mca_btl_usnic_component.stats_relative) {
usnic_stats_reset(module);