Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zfl9 committed Apr 17, 2023
1 parent cd4686b commit 0487787
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ void net_init(void) {
(void)res;

if (errno != ENOSYS) {
x_recvmmsg = recvmmsg;
x_recvmmsg = (__typeof__(x_recvmmsg))recvmmsg;
} else {
log_info("recvmmsg not implemented, use recvmsg to simulate");
x_recvmmsg = my_recvmmsg;
Expand All @@ -77,7 +77,7 @@ void net_init(void) {
(void)res;

if (errno != ENOSYS) {
x_sendmmsg = sendmmsg;
x_sendmmsg = (__typeof__(x_sendmmsg))sendmmsg;
} else {
log_info("sendmmsg not implemented, use sendmsg to simulate");
x_sendmmsg = my_sendmmsg;
Expand Down

0 comments on commit 0487787

Please sign in to comment.