summaryrefslogtreecommitdiffstats
path: root/src/log.c
diff options
context:
space:
mode:
authorMartin Nagy <mnagy@redhat.com>2009-07-02 18:19:07 +0200
committerMartin Nagy <mnagy@redhat.com>2009-08-04 16:50:53 +0200
commit2f68fa390a61676a01cd82bc00e4a44867041299 (patch)
tree20adf39703857163ebd4870603433e398ac28904 /src/log.c
parenteb9fc0fb0fffdfc5b078d5dc68b73e5f4b28bdea (diff)
downloadldap_driver-2f68fa390a61676a01cd82bc00e4a44867041299.tar.gz
ldap_driver-2f68fa390a61676a01cd82bc00e4a44867041299.tar.xz
ldap_driver-2f68fa390a61676a01cd82bc00e4a44867041299.zip
Add annotations to printf-like functions
The ISC_FORMAT_PRINTF() macro will make sure that gcc checks if these functions are used correctly. Also fix bugs that were found along the way.
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/log.c b/src/log.c
index 3bcd767..bdf2745 100644
--- a/src/log.c
+++ b/src/log.c
@@ -19,6 +19,8 @@
#include <stdio.h>
+#include <isc/formatcheck.h>
+
#include <dns/log.h>
#include "log.h"