1
1

fix two other mistakes in the cnos ess

This commit was SVN r18632.
Этот коммит содержится в:
Brian Barrett 2008-06-09 22:28:26 +00:00
родитель f72ab90b16
Коммит 4127bd0dcc

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

@ -128,10 +128,12 @@ static bool proc_is_local(orte_process_name_t *proc)
static char* proc_get_hostname(orte_process_name_t *proc)
{
return map[proc->vpid].nid;
static char hostname[128];
snprintf(hostname, 128, "n%d", map[proc->vpid].nid);
return hostname;
}
static uint32_t proc_get_arch(orte_process_name_t *proc);
static uint32_t proc_get_arch(orte_process_name_t *proc)
{
/* always homogeneous, so other side is always same as us */
return orte_process_info.arch;