[PATCH] cmsg.3: ffix

Dmitry V. Levin
2020-02-05T08:08:33Z

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
---
man3/cmsg.3 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/cmsg.3 b/man3/cmsg.3
index 9dd4c9c10..4ff4691ae 100644
--- a/man3/cmsg.3
+++ b/man3/cmsg.3
@@ -192,7 +192,7 @@ for (cmsg = CMSG_FIRSTHDR(&msgh); cmsg != NULL;
cmsg = CMSG_NXTHDR(&msgh, cmsg)) {
if (cmsg\->cmsg_level == IPPROTO_IP
&& cmsg\->cmsg_type == IP_TTL) {
- memcpy(&receive_ttl, CMSG_DATA(cmsg), sizeof(int));
+ memcpy(&receive_ttl, CMSG_DATA(cmsg), sizeof(int));
break;
}
}
--
ldv