types of functions (perhaps required by 'stdio' or 'libevent' will not
become available unless DNS suceeds. Replace it with "stdio dns".
-/* $OpenBSD: ntp_dns.c,v 1.12 2015/10/09 01:37:09 deraadt Exp $ */
+/* $OpenBSD: ntp_dns.c,v 1.13 2015/10/10 20:10:14 deraadt Exp $ */
/*
* Copyright (c) 2003-2008 Henning Brauer <henning@openbsd.org>
fatal(NULL);
imsg_init(ibuf_dns, pipe_ntp[1]);
- if (pledge("dns rw", NULL) == -1)
+ if (pledge("stdio dns", NULL) == -1)
err(1, "pledge");
while (quit_dns == 0) {