OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mkostemp: fix implementation
[uclinux-h8/uClibc.git]
/
libpthread
/
nptl
/
sem_open.c
diff --git
a/libpthread/nptl/sem_open.c
b/libpthread/nptl/sem_open.c
index
1b36164
..
3a72079
100644
(file)
--- a/
libpthread/nptl/sem_open.c
+++ b/
libpthread/nptl/sem_open.c
@@
-336,7
+336,7
@@
sem_open (const char *name, int oflag, ...)
mempcpy (mempcpy (tmpfname, mountpoint.dir, mountpoint.dirlen),
"XXXXXX", 7);
- fd = __gen_tempname (tmpfname, __GT_FILE, mode);
+ fd = __gen_tempname (tmpfname, __GT_FILE,
0,
mode);
if (fd == -1)
return SEM_FAILED;