another clang-format fix

This commit is contained in:
Stephen Miller 2024-08-16 15:07:19 -05:00
parent f36440dc09
commit 6510af90be
1 changed files with 7 additions and 0 deletions

View File

@ -1388,6 +1388,7 @@ int PS4_SYSV_ABI posix_sem_init(sem_t* sem, int pshared, unsigned int value) {
ErrSceToPosix(ORBIS_KERNEL_ERROR_ENOSPC);
break;
case EINVAL:
default:
ErrSceToPosix(ORBIS_KERNEL_ERROR_EINVAL);
break;
@ -1410,6 +1411,7 @@ int PS4_SYSV_ABI posix_sem_wait(sem_t* sem) {
ErrSceToPosix(ORBIS_KERNEL_ERROR_ETIMEDOUT);
break;
case EINVAL:
default:
ErrSceToPosix(ORBIS_KERNEL_ERROR_EINVAL);
break;
@ -1432,6 +1434,7 @@ int PS4_SYSV_ABI posix_sem_trywait(sem_t* sem) {
ErrSceToPosix(ORBIS_KERNEL_ERROR_EAGAIN);
break;
case EINVAL:
default:
ErrSceToPosix(ORBIS_KERNEL_ERROR_EINVAL);
break;
@ -1484,6 +1487,7 @@ int PS4_SYSV_ABI posix_sem_timedwait(sem_t* sem, const timespec* t) {
ErrSceToPosix(ORBIS_KERNEL_ERROR_ETIMEDOUT);
break;
case EINVAL:
default:
ErrSceToPosix(ORBIS_KERNEL_ERROR_EINVAL);
break;
@ -1506,6 +1510,7 @@ int PS4_SYSV_ABI posix_sem_post(sem_t* sem) {
ErrSceToPosix(ORBIS_KERNEL_ERROR_ERANGE);
break;
case EINVAL:
default:
ErrSceToPosix(ORBIS_KERNEL_ERROR_EINVAL);
break;
@ -1531,6 +1536,7 @@ int PS4_SYSV_ABI posix_sem_destroy(sem_t* sem) {
ErrSceToPosix(ORBIS_KERNEL_ERROR_EDEADLK);
break;
case EINVAL:
default:
ErrSceToPosix(ORBIS_KERNEL_ERROR_EINVAL);
break;
@ -1556,6 +1562,7 @@ int PS4_SYSV_ABI posix_sem_getvalue(sem_t* sem, int* sval) {
ErrSceToPosix(ORBIS_KERNEL_ERROR_EDEADLK);
break;
case EINVAL:
default:
ErrSceToPosix(ORBIS_KERNEL_ERROR_EINVAL);
break;