* sysv_sem.cc (semundo_clear): Move condition to break from
inner loop to the right spot.
This commit is contained in:
@ -529,9 +529,9 @@ semundo_clear(int semid, int semnum, struct thread *td)
|
||||
suptr->un_ent[suptr->un_cnt];
|
||||
continue;
|
||||
}
|
||||
if (semnum != -1)
|
||||
break;
|
||||
}
|
||||
if (semnum != -1)
|
||||
break;
|
||||
}
|
||||
i++, sunptr++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user