lwp: Drop inappropriate oops in lwpSigWait()

lwpSigWait()'s contract specifies failure, which means oopsing is
wrong.  Harmless, as its only caller empth_wait_for_signal() oopses on
failure.  Drop it anyway.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2020-12-27 08:03:25 +01:00
parent 1ebee96036
commit 85ad194648

View file

@ -27,7 +27,7 @@
* sig.c: Wait for signals
*
* Known contributors to this file:
* Markus Armbruster, 2006-2007
* Markus Armbruster, 2006-2020
*/
#include <config.h>
@ -117,7 +117,7 @@ lwpSigWait(sigset_t *set, int *sig)
{
int res;
if (CANT_HAPPEN(LwpSigWaiter))
if (LwpSigWaiter)
return EBUSY;
for (;;) {
LwpSigCheck = 0;