hgfs: remove bogus OTRUNC mode from create() call in fmktemp()

This commit is contained in:
cinap_lenrek 2012-11-21 19:28:40 +01:00
parent 40d11cea3f
commit 1d4ab25265

View file

@ -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