diff options
author | Martin Nagy <mnagy@redhat.com> | 2009-07-02 18:19:07 +0200 |
---|---|---|
committer | Martin Nagy <mnagy@redhat.com> | 2009-08-04 16:50:53 +0200 |
commit | 2f68fa390a61676a01cd82bc00e4a44867041299 (patch) | |
tree | 20adf39703857163ebd4870603433e398ac28904 /src/log.c | |
parent | eb9fc0fb0fffdfc5b078d5dc68b73e5f4b28bdea (diff) | |
download | ldap_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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -19,6 +19,8 @@ #include <stdio.h> +#include <isc/formatcheck.h> + #include <dns/log.h> #include "log.h" |