summaryrefslogtreecommitdiff
path: root/usr.sbin/ripd/rde.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ripd/rde.c')
-rw-r--r--usr.sbin/ripd/rde.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ripd/rde.c b/usr.sbin/ripd/rde.c
index 2310c175a9b..a2b0fd9c065 100644
--- a/usr.sbin/ripd/rde.c
+++ b/usr.sbin/ripd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.28 2024/11/21 13:17:02 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.29 2024/11/21 13:17:58 claudio Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
@@ -164,9 +164,9 @@ __dead void
rde_shutdown(void)
{
/* close pipes */
- msgbuf_clear(&iev_ripe->ibuf.w);
+ imsgbuf_clear(&iev_ripe->ibuf);
close(iev_ripe->ibuf.fd);
- msgbuf_clear(&iev_main->ibuf.w);
+ imsgbuf_clear(&iev_main->ibuf);
close(iev_main->ibuf.fd);
rt_clear();