diff options
Diffstat (limited to 'usr.bin/dig/lib/isc/unix/socket.c')
-rw-r--r-- | usr.bin/dig/lib/isc/unix/socket.c | 4 |
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, |