socket-util: add one missing paren

Follow-up for b6256af75e.
This commit is contained in:
Yu Watanabe
2023-04-14 13:49:35 +09:00
parent 924937cbc0
commit 4db752e4aa
+1 -1
View File
@@ -183,7 +183,7 @@ int flush_accept(int fd);
* riscv32. */
#define CMSG_TYPED_DATA(cmsg, type) \
({ \
struct cmsghdr *_cmsg = cmsg; \
struct cmsghdr *_cmsg = (cmsg); \
assert_cc(__alignof__(type) <= __alignof__(struct cmsghdr)); \
_cmsg ? CAST_ALIGN_PTR(type, CMSG_DATA(_cmsg)) : (type*) NULL; \
})