1
0
Fork 0

added create

This commit is contained in:
Frank Celler 2012-02-08 13:18:16 +01:00
parent 953fa86f45
commit a584fa0c5c
1 changed files with 1 additions and 1 deletions

View File

@ -585,7 +585,7 @@ int TRI_CreateLockFile (char const* filename) {
return 0;
}
fd = TRI_OPEN(filename, O_CREAT | O_EXCL | O_RDWR);
fd = TRI_CERATE(filename, O_CREAT | O_EXCL | O_RDWR, S_IRUSR | S_IWUSR);
if (fd == -1) {
TRI_set_errno(TRI_ERROR_OPEN_ERROR);