diff options
author | tuexen <tuexen@FreeBSD.org> | 2014-12-10 14:50:57 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2014-12-10 14:50:57 +0000 |
commit | 841f4ee642d7651bda2ed7355feaab8d2b170a22 (patch) | |
tree | c108a47106f17e0b7fcf021ffe3d605f8e6d4669 /lib/libc | |
parent | 5a2f0c0e007e0c887b40dd74adf4feb0b5703c29 (diff) | |
download | FreeBSD-src-841f4ee642d7651bda2ed7355feaab8d2b170a22.zip FreeBSD-src-841f4ee642d7651bda2ed7355feaab8d2b170a22.tar.gz |
Fix a typo reported by Lennart Grahl.
MFC after: 3 days
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/net/sctp_sys_calls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/sctp_sys_calls.c b/lib/libc/net/sctp_sys_calls.c index 91527c3..ea66df9 100644 --- a/lib/libc/net/sctp_sys_calls.c +++ b/lib/libc/net/sctp_sys_calls.c @@ -886,7 +886,7 @@ sctp_recvv(int sd, struct sctp_rcvinfo *rcvinfo; struct sctp_nxtinfo *nxtinfo; - if (((info != NULL) && (infolen == NULL)) | + if (((info != NULL) && (infolen == NULL)) || ((info == NULL) && (infolen != NULL) && (*infolen != 0)) || ((info != NULL) && (infotype == NULL))) { errno = EINVAL; |