summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntp_dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ntpd/ntp_dns.c')
-rw-r--r--usr.sbin/ntpd/ntp_dns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/ntp_dns.c b/usr.sbin/ntpd/ntp_dns.c
index 0e56a0fa5b1..a3dbdf9606e 100644
--- a/usr.sbin/ntpd/ntp_dns.c
+++ b/usr.sbin/ntpd/ntp_dns.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntp_dns.c,v 1.32 2024/11/21 13:17:02 claudio Exp $ */
+/* $OpenBSD: ntp_dns.c,v 1.33 2024/11/21 13:17:57 claudio Exp $ */
/*
* Copyright (c) 2003-2008 Henning Brauer <henning@openbsd.org>
@@ -129,7 +129,7 @@ ntp_dns(struct ntpd_conf *nconf, struct passwd *pw)
}
}
- msgbuf_clear(&ibuf_dns->w);
+ imsgbuf_clear(ibuf_dns);
free(ibuf_dns);
exit(0);
}