File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
opal/mca/pmix/pmix2x/pmix/src/tool Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ PMIX_EXPORT int PMIx_tool_init(pmix_proc_t *proc,
189189 pmix_kval_t * kptr ;
190190 pmix_status_t rc ;
191191 pmix_nspace_t * nptr , * nsptr ;
192- int i , server_pid = -1 ;
192+ int server_pid = -1 ;
193193 int hostnamelen = 10 ;
194194 char hostname [hostnamelen ];
195195 DIR * cur_dirp = NULL ;
@@ -218,8 +218,8 @@ pmix_output(0, "TOOL INIT");
218218 if (0 == strcmp (PMIX_EVENT_BASE , info [n ].key )) {
219219 pmix_globals .evbase = (pmix_event_base_t * )info [n ].value .data .ptr ;
220220 pmix_globals .external_evbase = true;
221- } else if (strcmp (info [i ].key , PMIX_SERVER_PIDINFO ) == 0 ) {
222- server_pid = info [i ].value .data .integer ;
221+ } else if (strcmp (info [n ].key , PMIX_SERVER_PIDINFO ) == 0 ) {
222+ server_pid = info [n ].value .data .integer ;
223223 }
224224 }
225225 }
You can’t perform that action at this time.
0 commit comments