X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=libpthread%2Fnptl%2Fsem_open.c;h=3a72079081438d838416f107ff1819b3a400a036;hb=refs%2Fheads%2Fmaster;hp=73d979a43c34406e7d0070e5bfc48117c2ca969d;hpb=e548078de1229e06d71aef02d99891b251f780f9;p=uclinux-h8%2FuClibc.git diff --git a/libpthread/nptl/sem_open.c b/libpthread/nptl/sem_open.c index 73d979a43..3a7207908 100644 --- a/libpthread/nptl/sem_open.c +++ b/libpthread/nptl/sem_open.c @@ -13,9 +13,8 @@ Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ + License along with the GNU C Library; if not, see + . */ #include #include @@ -337,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;