]> granicus.if.org Git - strace/commitdiff
net.c: recognize MSG_WAITFORONE
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 13 Mar 2012 01:26:26 +0000 (01:26 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 13 Mar 2012 01:26:26 +0000 (01:26 +0000)
* net.c (msg_flags): Add MSG_WAITFORONE.

net.c

diff --git a/net.c b/net.c
index e7c7b2bbcbf65a83453f5a5de74605aabac66e1e..8703b8be60f23bce689e9a042ca61f002ac51fd1 100644 (file)
--- a/net.c
+++ b/net.c
@@ -587,6 +587,9 @@ static const struct xlat msg_flags[] = {
 #ifdef MSG_MORE
        { MSG_MORE,             "MSG_MORE"              },
 #endif
+#ifdef MSG_WAITFORONE
+       { MSG_WAITFORONE,       "MSG_WAITFORONE"        },
+#endif
 #ifdef MSG_CMSG_CLOEXEC
        { MSG_CMSG_CLOEXEC,     "MSG_CMSG_CLOEXEC"      },
 #endif