Skip to content

Commit ad5d537

Browse files
authored
Merge pull request #37 from DaveeFTW/patch-1
Add missing SCE_KERNEL_MUTEX_ATTR_RECURSIVE flag
2 parents 16da3c9 + 4250500 commit ad5d537

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • newlib/libc/sys/vita

newlib/libc/sys/vita/io.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ SceKernelLwMutexWork _newlib_fd_mutex __attribute__ ((aligned (8)));
1818

1919
void _init_vita_io(void) {
2020
int ret;
21-
sceKernelCreateLwMutex(&_newlib_fd_mutex, "fd conversion table mutex", 0, 1, NULL);
21+
sceKernelCreateLwMutex(&_newlib_fd_mutex, "fd conversion table mutex", SCE_KERNEL_MUTEX_ATTR_RECURSIVE, 1, NULL);
2222

2323
memset(__vita_fdmap, 0, sizeof(__vita_fdmap));
2424
memset(__vita_fdmap_pool, 0, sizeof(__vita_fdmap_pool));

0 commit comments

Comments
 (0)