Skip to content
Snippets Groups Projects
Commit 01298e40 authored by Morris Jette's avatar Morris Jette
Browse files

fix arguments for new task plugin function

parent 9158a1d1
No related branches found
No related tags found
No related merge requests found
...@@ -351,7 +351,7 @@ extern int pre_launch_priv(slurmd_job_t *job) ...@@ -351,7 +351,7 @@ extern int pre_launch_priv(slurmd_job_t *job)
slurm_mutex_lock( &g_task_context_lock ); slurm_mutex_lock( &g_task_context_lock );
for (i = 0; ((i < g_task_context_num) && (rc == SLURM_SUCCESS)); i++) for (i = 0; ((i < g_task_context_num) && (rc == SLURM_SUCCESS)); i++)
rc = (*(g_task_context[i]->ops.pre_launch_priv))(job); rc = (*(ops[i].pre_launch_priv))(job);
slurm_mutex_unlock( &g_task_context_lock ); slurm_mutex_unlock( &g_task_context_lock );
return (rc); return (rc);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment