cpukit/posix/src/aio_misc.c: Fix incorrect operator in condition

Coverity Issue: CID 1615135 Control flow issues  (DEADCODE)
This commit is contained in:
alessandronardin
2024-07-25 16:56:11 +02:00
parent 43fd756f6d
commit 1fe3d396d3

View File

@@ -392,7 +392,7 @@ int rtems_aio_check_sigevent( struct sigevent *sigp )
break;
case SIGEV_SIGNAL:
if ( sigp->sigev_signo < 1 && sigp->sigev_signo > 32 ) {
if ( sigp->sigev_signo < 1 || sigp->sigev_signo > 32 ) {
return 0;
}
break;