hgfs: remove bogus OTRUNC mode from create() call in fmktemp()
This commit is contained in:
parent
40d11cea3f
commit
1d4ab25265
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ fmktemp(void)
|
||||||
static ulong id = 1;
|
static ulong id = 1;
|
||||||
char path[MAXPATH];
|
char path[MAXPATH];
|
||||||
snprint(path, sizeof(path), "/tmp/hg%.12d%.8lux", getpid(), id++);
|
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
|
void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue