From 1fe3d396d320d2c12535734fc4ac8118c4d11a37 Mon Sep 17 00:00:00 2001 From: alessandronardin Date: Thu, 25 Jul 2024 16:56:11 +0200 Subject: [PATCH] cpukit/posix/src/aio_misc.c: Fix incorrect operator in condition Coverity Issue: CID 1615135 Control flow issues (DEADCODE) --- cpukit/posix/src/aio_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/posix/src/aio_misc.c b/cpukit/posix/src/aio_misc.c index 66b5c19dbc..301a6712f1 100644 --- a/cpukit/posix/src/aio_misc.c +++ b/cpukit/posix/src/aio_misc.c @@ -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;