Fix obsolete code.
FreeBSD _does_ define ENOMSG, so no need for checking if we support it. Inspired by PR: 22470 Which was submitted by: Bjorn Tornqvist <bjorn@west.se> MFC after: 1 week
This commit is contained in:
parent
e35bc290b1
commit
e9a1c910b8
@ -1045,12 +1045,7 @@ msgrcv(p, uap)
|
||||
msgtyp);
|
||||
#endif
|
||||
/* The SVID says to return ENOMSG. */
|
||||
#ifdef ENOMSG
|
||||
return(ENOMSG);
|
||||
#else
|
||||
/* Unfortunately, BSD doesn't define that code yet! */
|
||||
return(EAGAIN);
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user