[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH hurd] Replace msgh_kind with msgh_seqno
From: |
Flavio Cruz |
Subject: |
[PATCH hurd] Replace msgh_kind with msgh_seqno |
Date: |
Tue, 13 Jun 2023 00:38:46 -0400 |
msgh_kind is deprecated and is an alias to msgh_seqno.
---
eth-multiplexer/vdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eth-multiplexer/vdev.c b/eth-multiplexer/vdev.c
index f441803d..62042ee6 100644
--- a/eth-multiplexer/vdev.c
+++ b/eth-multiplexer/vdev.c
@@ -276,7 +276,7 @@ deliver_msg(struct net_rcv_msg *msg, struct vether_device
*vdev)
msg->msg_hdr.msgh_bits = MACH_MSGH_BITS (MACH_MSG_TYPE_COPY_SEND, 0);
/* remember message sizes must be rounded up */
msg->msg_hdr.msgh_local_port = MACH_PORT_NULL;
- msg->msg_hdr.msgh_kind = MACH_MSGH_KIND_NORMAL;
+ msg->msg_hdr.msgh_seqno = 0;
msg->msg_hdr.msgh_id = NET_RCV_MSG_ID;
if_port_list = &vdev->port_list.if_rcv_port_list;
--
2.39.2
- [PATCH hurd] Replace msgh_kind with msgh_seqno,
Flavio Cruz <=