summaryrefslogtreecommitdiffstats
path: root/src/krb5_helper.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/krb5_helper.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/krb5_helper.c')
-rw-r--r--src/krb5_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/krb5_helper.c b/src/krb5_helper.c
index c69a947..a52b412 100644
--- a/src/krb5_helper.c
+++ b/src/krb5_helper.c
@@ -137,7 +137,7 @@ get_krb5_tgt(isc_mem_t *mctx, const char *principal, const char *keyfile)
krberr = krb5_cc_resolve(context, str_buf(ccname), &ccache);
CHECK_KRB5(context, krberr,
- "Failed to resolve ccache name %s", ccname);
+ "Failed to resolve ccache name %s", str_buf(ccname));
/* get krb5_principal from string */
krberr = krb5_parse_name(context, principal, &kprincpw);