diff options
author | asmodai <asmodai@FreeBSD.org> | 2001-07-30 19:28:02 +0000 |
---|---|---|
committer | asmodai <asmodai@FreeBSD.org> | 2001-07-30 19:28:02 +0000 |
commit | baad636e132e0c0edefc56a0ae9288f462c1f896 (patch) | |
tree | 4d657147ff2917f80a2111c834bafc11e22ced2f /sys/kern/sysv_msg.c | |
parent | 152e263c19cb6e9df8a8ed7529becdb5dc4445f9 (diff) | |
download | FreeBSD-src-baad636e132e0c0edefc56a0ae9288f462c1f896.zip FreeBSD-src-baad636e132e0c0edefc56a0ae9288f462c1f896.tar.gz |
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
Diffstat (limited to 'sys/kern/sysv_msg.c')
-rw-r--r-- | sys/kern/sysv_msg.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/kern/sysv_msg.c b/sys/kern/sysv_msg.c index 83b9582..97c06c8 100644 --- a/sys/kern/sysv_msg.c +++ b/sys/kern/sysv_msg.c @@ -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 } /* |