aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxim Konovalov <maxim@FreeBSD.org>2004-10-28 20:04:14 +0000
committerMaxim Konovalov <maxim@FreeBSD.org>2004-10-28 20:04:14 +0000
commit2d32bfc09ee1baa0d61cd9a73119c42eb8939aca (patch)
tree3c22bce6245e0f5b274f43818a42c20033a60f3f
parent8ef493b6bcfb7c7a6af1fdf4c251e2c85b5558d5 (diff)
downloadsrc-2d32bfc09ee1baa0d61cd9a73119c42eb8939aca.tar.gz
src-2d32bfc09ee1baa0d61cd9a73119c42eb8939aca.zip
MFC rev. 1.139: fix a typo in a comparison.
Prodded by: bms Approved by: re (kensmith)
Notes
Notes: svn path=/releng/5.3/; revision=137026
-rw-r--r--sys/kern/uipc_socket2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_socket2.c b/sys/kern/uipc_socket2.c
index 02b68d868f60..577889567efc 100644
--- a/sys/kern/uipc_socket2.c
+++ b/sys/kern/uipc_socket2.c
@@ -1253,7 +1253,7 @@ sbcreatecontrol(p, size, type, level)
if (CMSG_SPACE((u_int)size) > MCLBYTES)
return ((struct mbuf *) NULL);
- if (CMSG_SPACE((u_int)size > MLEN))
+ if (CMSG_SPACE((u_int)size) > MLEN)
m = m_getcl(M_DONTWAIT, MT_CONTROL, 0);
else
m = m_get(M_DONTWAIT, MT_CONTROL);