more warnings, cought on interix
This commit is contained in:
parent
df01c5b051
commit
abf1944a8e
5
jobs.c
5
jobs.c
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
#include "sh.h"
|
#include "sh.h"
|
||||||
|
|
||||||
__RCSID("$MirOS: src/bin/mksh/jobs.c,v 1.15 2006/11/12 12:49:25 tg Exp $");
|
__RCSID("$MirOS: src/bin/mksh/jobs.c,v 1.16 2006/11/12 13:20:15 tg Exp $");
|
||||||
|
|
||||||
/* Order important! */
|
/* Order important! */
|
||||||
#define PRUNNING 0
|
#define PRUNNING 0
|
||||||
|
@ -449,7 +449,8 @@ exchild(struct op *t, int flags,
|
||||||
if (Flag(FTALKING)) {
|
if (Flag(FTALKING)) {
|
||||||
shf_fprintf(shl_out, "[%d]", j->job);
|
shf_fprintf(shl_out, "[%d]", j->job);
|
||||||
for (p = j->proc_list; p; p = p->next)
|
for (p = j->proc_list; p; p = p->next)
|
||||||
shf_fprintf(shl_out, " %d", p->pid);
|
shf_fprintf(shl_out, " %d",
|
||||||
|
(int)p->pid);
|
||||||
shf_putchar('\n', shl_out);
|
shf_putchar('\n', shl_out);
|
||||||
shf_flush(shl_out);
|
shf_flush(shl_out);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue