summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/cmd/hgfs/revlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/hgfs/revlog.c b/sys/src/cmd/hgfs/revlog.c
index a90363b2e..7e5ec70da 100644
--- a/sys/src/cmd/hgfs/revlog.c
+++ b/sys/src/cmd/hgfs/revlog.c
@@ -10,7 +10,7 @@ fmktemp(void)
static ulong id = 1;
char path[MAXPATH];
snprint(path, sizeof(path), "/tmp/hg%.12d%.8lux", getpid(), id++);
- return create(path, OEXCL|OTRUNC|ORDWR|ORCLOSE, 0600);
+ return create(path, OEXCL|ORDWR|ORCLOSE, 0600);
}
void