diff options
Diffstat (limited to 'src/cmd/page/filter.c')
-rw-r--r-- | src/cmd/page/filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/page/filter.c b/src/cmd/page/filter.c index 2e0482fc..f9b2a8a2 100644 --- a/src/cmd/page/filter.c +++ b/src/cmd/page/filter.c @@ -32,7 +32,7 @@ initfilt(Biobuf *b, int argc, char **argv, uchar *buf, int nbuf, char *type, cha p[1] = open("/dev/null", ORDWR); } - ofd = opentemp(template); + ofd = opentemp(template, ORDWR|ORCLOSE); switch(fork()){ case -1: fprint(2, "fork fails: %r\n"); |