Navigation Menu

Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 16, 2015
1 parent 0d25626 commit f848e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util.c
Expand Up @@ -1381,7 +1381,7 @@ grn_mkstemp(char *path_template)
return mkstemp(path_template);
# else /* HAVE_MKSTEMP */
mktemp(path_template);
return open(path_template, O_RDWR | O_CREAT | OEXCL, S_IRUSR | S_IWUSR);
return open(path_template, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR);
# endif /* HAVE_MKSTEMP */
}
#endif /* WIN32 */

0 comments on commit f848e05

Please sign in to comment.