Skip to content
Snippets Groups Projects
Commit 56e73450 authored by Danny Auble's avatar Danny Auble
Browse files

hopefully this is the last checkin from this merge :S

parent 31de3b36
No related branches found
No related tags found
No related merge requests found
...@@ -302,10 +302,10 @@ void print_job(type_t type, void *object) ...@@ -302,10 +302,10 @@ void print_job(type_t type, void *object)
printf("%8s", "--------"); printf("%8s", "--------");
break; break;
case JOB: case JOB:
printf("%8ld", job->header.jobnum); printf("%8d", job->header.jobnum);
break; break;
case JOBSTEP: case JOBSTEP:
printf("%8ld", step->header.jobnum); printf("%8d", step->header.jobnum);
break; break;
} }
} }
...@@ -355,7 +355,7 @@ void print_step(type_t type, void *object) ...@@ -355,7 +355,7 @@ void print_step(type_t type, void *object)
printf("%-10d", job->header.jobnum); printf("%-10d", job->header.jobnum);
break; break;
case JOBSTEP: case JOBSTEP:
snprintf(outbuf, sizeof(outbuf), "%ld.%ld", snprintf(outbuf, sizeof(outbuf), "%d.%d",
step->header.jobnum, step->header.jobnum,
step->stepnum); step->stepnum);
printf("%-10s", outbuf); printf("%-10s", outbuf);
...@@ -461,10 +461,10 @@ void print_ncpus(type_t type, void *object) ...@@ -461,10 +461,10 @@ void print_ncpus(type_t type, void *object)
printf("%7s", "-------"); printf("%7s", "-------");
break; break;
case JOB: case JOB:
printf("%7ld", job->ncpus); printf("%7d", job->ncpus);
break; break;
case JOBSTEP: case JOBSTEP:
printf("%7ld", step->ncpus); printf("%7d", step->ncpus);
break; break;
} }
} }
...@@ -493,7 +493,6 @@ void print_nivcsw(type_t type, void *object) ...@@ -493,7 +493,6 @@ void print_nivcsw(type_t type, void *object)
void print_nodes(type_t type, void *object) void print_nodes(type_t type, void *object)
{ {
job_rec_t *job = (job_rec_t *)object; job_rec_t *job = (job_rec_t *)object;
step_rec_t *step = (step_rec_t *)object;
switch(type) { switch(type) {
case HEADLINE: case HEADLINE:
...@@ -566,10 +565,10 @@ void print_ntasks(type_t type, void *object) ...@@ -566,10 +565,10 @@ void print_ntasks(type_t type, void *object)
printf("%7s", "-------"); printf("%7s", "-------");
break; break;
case JOB: case JOB:
printf("%7ld", job->ntasks); printf("%7d", job->ntasks);
break; break;
case JOBSTEP: case JOBSTEP:
printf("%7ld", step->ntasks); printf("%7d", step->ntasks);
break; break;
} }
} }
...@@ -658,10 +657,10 @@ void print_psize(type_t type, void *object) ...@@ -658,10 +657,10 @@ void print_psize(type_t type, void *object)
printf("%10s", "------"); printf("%10s", "------");
break; break;
case JOB: case JOB:
printf("%10.ld", job->psize); printf("%10.d", job->psize);
break; break;
case JOBSTEP: case JOBSTEP:
printf("%10ld", step->psize); printf("%10d", step->psize);
break; break;
} }
} }
...@@ -721,10 +720,10 @@ void print_submitted(type_t type, void *object) ...@@ -721,10 +720,10 @@ void print_submitted(type_t type, void *object)
printf("%-14s", "--------------"); printf("%-14s", "--------------");
break; break;
case JOB: case JOB:
printf("%-14d", job->header.job_start); printf("%-14d", (int)job->header.job_start);
break; break;
case JOBSTEP: case JOBSTEP:
printf("%-14d", step->header.job_start); printf("%-14d", (int)step->header.job_start);
break; break;
} }
} }
...@@ -844,10 +843,10 @@ void print_vsize(type_t type, void *object) ...@@ -844,10 +843,10 @@ void print_vsize(type_t type, void *object)
printf("%10s", "------"); printf("%10s", "------");
break; break;
case JOB: case JOB:
printf("%10ld", job->vsize); printf("%10d", job->vsize);
break; break;
case JOBSTEP: case JOBSTEP:
printf("%10ld", step->vsize); printf("%10d", step->vsize);
break; break;
} }
} }
......
...@@ -1092,7 +1092,6 @@ _rpc_step_complete(slurm_msg_t *msg, slurm_addr *cli_addr) ...@@ -1092,7 +1092,6 @@ _rpc_step_complete(slurm_msg_t *msg, slurm_addr *cli_addr)
int rc = SLURM_SUCCESS; int rc = SLURM_SUCCESS;
int fd; int fd;
uid_t req_uid; uid_t req_uid;
slurmstepd_info_t *step;
debug3("Entering _rpc_step_complete"); debug3("Entering _rpc_step_complete");
fd = stepd_connect(conf->spooldir, conf->node_name, fd = stepd_connect(conf->spooldir, conf->node_name,
......
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