1
1
Feedback from Dave's review.

This commit was SVN r29664.

The following Trac tickets were found above:
  Ticket 3901 --> https://svn.open-mpi.org/trac/ompi/ticket/3901
Этот коммит содержится в:
Jeff Squyres 2013-11-12 22:51:20 +00:00
родитель 04b134eace
Коммит 7cb31111a6

Просмотреть файл

@ -394,7 +394,7 @@ static void setup_mpit_pvars_enum(void)
device = m->device;
devices[i].value = i;
rc = asprintf(&str, "%s,%s,%u.%u.%u.%u/%d",
rc = asprintf(&str, "%s,%s,%hhu.%hhu.%hhu.%hhu/%" PRIu32,
ibv_get_device_name(device),
m->if_name,
c[0], c[1], c[2], c[3],
@ -426,8 +426,7 @@ static void setup_mpit_pvars_enum(void)
/* Free the strings (mca_base_var_enum_create() strdup()'ed them
into private storage, so we don't need them any more) */
for (i = 0; i < mca_btl_usnic_component.num_modules; ++i) {
m = mca_btl_usnic_component.usnic_active_modules[i];
device = m->device;
device = mca_btl_usnic_component.usnic_active_modules[i]->device;
free((char*) devices[i].string);
}