]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - packages/net/bsd_tcpip/v2_0/include/sys/socketvar.h
unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / packages / net / bsd_tcpip / v2_0 / include / sys / socketvar.h
index 2b7a94233912d5c4b3b1e78117fb01c61847fcb2..84d6e4f5541ba570c69c27428737a17140e5bf95 100644 (file)
@@ -253,7 +253,7 @@ struct      xsocket {
  */
 #define sblock(sb, wf) ((sb)->sb_flags & SB_LOCK ? \
                (((wf) == M_WAITOK) ? sb_lock(sb) : EWOULDBLOCK) : \
  */
 #define sblock(sb, wf) ((sb)->sb_flags & SB_LOCK ? \
                (((wf) == M_WAITOK) ? sb_lock(sb) : EWOULDBLOCK) : \
-               ((sb)->sb_flags |= SB_LOCK), 0)
+               ((sb)->sb_flags |= SB_LOCK, 0))
 
 /* release lock on sockbuf sb */
 #define        sbunlock(sb) { \
 
 /* release lock on sockbuf sb */
 #define        sbunlock(sb) { \