mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Fix a typo, unbreak the world.
Thanks to: mux Approved by: ru
This commit is contained in:
parent
e0dd4a7813
commit
cf11f48256
1 changed files with 1 additions and 1 deletions
|
|
@ -486,7 +486,7 @@ __semctl(td, uap)
|
|||
mtx_lock(&Giant);
|
||||
switch(cmd) {
|
||||
case SEM_STAT:
|
||||
if (semid < 0 || semid >= seminfo.semnmi)
|
||||
if (semid < 0 || semid >= seminfo.semmni)
|
||||
UGAR(EINVAL);
|
||||
semaptr = &sema[semid];
|
||||
if ((semaptr->sem_perm.mode & SEM_ALLOC) == 0 )
|
||||
|
|
|
|||
Loading…
Reference in a new issue