aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rc
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-02-11 16:58:06 +0000
committerrsc <devnull@localhost>2005-02-11 16:58:06 +0000
commit26a5fd572556f6d875c18fff8e83ed5eed6cf8fa (patch)
tree9f473a154881825d54443d42c2019da7d142d705 /src/cmd/rc
parent2e397eb47c87e78b4a9e2f4a550be4792bd05fa2 (diff)
downloadplan9port-26a5fd572556f6d875c18fff8e83ed5eed6cf8fa.tar.gz
plan9port-26a5fd572556f6d875c18fff8e83ed5eed6cf8fa.tar.bz2
plan9port-26a5fd572556f6d875c18fff8e83ed5eed6cf8fa.zip
set pid=-1 explicitly
Diffstat (limited to 'src/cmd/rc')
-rw-r--r--src/cmd/rc/exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/rc/exec.c b/src/cmd/rc/exec.c
index dfd4e370..fc7b630b 100644
--- a/src/cmd/rc/exec.c
+++ b/src/cmd/rc/exec.c
@@ -20,6 +20,7 @@ void start(code *c, int pc, var *local)
p->eof=0;
p->iflag=0;
p->lineno=1;
+ p->pid=-1;
p->ret=runq;
runq=p;
}