mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-20 09:34:44 +08:00
net/cmsg_sender: Remove a semicolon
Remove the repeated ';' from code. Signed-off-by: Li kunyu <kunyu@nfschina.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c7b1267b1c
commit
dbdd9a28e1
@ -456,7 +456,7 @@ int main(int argc, char *argv[])
|
||||
buf[1] = 0;
|
||||
} else if (opt.sock.type == SOCK_RAW) {
|
||||
struct udphdr hdr = { 1, 2, htons(opt.size), 0 };
|
||||
struct sockaddr_in6 *sin6 = (void *)ai->ai_addr;;
|
||||
struct sockaddr_in6 *sin6 = (void *)ai->ai_addr;
|
||||
|
||||
memcpy(buf, &hdr, sizeof(hdr));
|
||||
sin6->sin6_port = htons(opt.sock.proto);
|
||||
|
Loading…
Reference in New Issue
Block a user