summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@ovn.org>2017-07-26 16:51:17 -0700
committerJustin Pettit <jpettit@ovn.org>2017-07-27 14:13:03 -0700
commitd5e13d39d7a38bbaadaed0fd11949cbb13b13b58 (patch)
treef48f784849b7f46eceedf2bea07b5b173e3bb435
parent36f232bca2db8ecee2d337dc176d56ce9490e5c2 (diff)
downloadopenvswitch-d5e13d39d7a38bbaadaed0fd11949cbb13b13b58.tar.gz
netlink: Correct comment for nl_msg_put_unspec().
Signed-off-by: Justin Pettit <jpettit@ovn.org> Acked-by: Joe Stringer <joe@ovn.org>
-rw-r--r--lib/netlink.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/netlink.c b/lib/netlink.c
index 4cf1aaca6..de3ebcd0e 100644
--- a/lib/netlink.c
+++ b/lib/netlink.c
@@ -235,8 +235,7 @@ nl_msg_put_unspec_zero(struct ofpbuf *msg, uint16_t type, size_t size)
/* Appends a Netlink attribute of the given 'type' and the 'size' bytes of
* 'data' as its payload, to the tail end of 'msg', reallocating and copying
- * its data if necessary. Returns a pointer to the first byte of data in the
- * attribute, which is left uninitialized. */
+ * its data if necessary. */
void
nl_msg_put_unspec(struct ofpbuf *msg, uint16_t type,
const void *data, size_t size)