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:
asmodai 2001-07-30 19:28:02 +00:00
parent e35bc290b1
commit e9a1c910b8

View File

@ -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
}
/*