summaryrefslogtreecommitdiff
path: root/usr.bin/dig/lib/isc/unix/socket.c
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2020-02-13 16:57:56 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2020-02-13 16:57:56 +0000
commiteb476a7f08c72f88fc476e81d4d539d5c61e0109 (patch)
treeb1734ccd5f7208800546d740a67b68dca962a9ce /usr.bin/dig/lib/isc/unix/socket.c
parentd8918c40b465bc48df26d45516c4c4b618ef1bfd (diff)
expand ISC_FORMAT_PRINTF and get rid of formatcheck.h
Diffstat (limited to 'usr.bin/dig/lib/isc/unix/socket.c')
-rw-r--r--usr.bin/dig/lib/isc/unix/socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/dig/lib/isc/unix/socket.c b/usr.bin/dig/lib/isc/unix/socket.c
index 38f0f87ad7e..b3985ccbe7f 100644
--- a/usr.bin/dig/lib/isc/unix/socket.c
+++ b/usr.bin/dig/lib/isc/unix/socket.c
@@ -31,7 +31,7 @@
#include <isc/buffer.h>
#include <isc/bufferlist.h>
-#include <isc/formatcheck.h>
+
#include <isc/list.h>
#include <isc/log.h>
#include <isc/net.h>
@@ -329,7 +329,7 @@ enum {
static void
socket_log(isc__socket_t *sock, isc_sockaddr_t *address,
isc_logcategory_t *category, isc_logmodule_t *module, int level,
- const char *fmt, ...) ISC_FORMAT_PRINTF(6, 7);
+ const char *fmt, ...) __attribute__((__format__(__printf__, 6, 7)));
static void
socket_log(isc__socket_t *sock, isc_sockaddr_t *address,
isc_logcategory_t *category, isc_logmodule_t *module, int level,