From 3275b38d59a84420dca0b0e33345d36b8e5ddf06 Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Mon, 6 Feb 2012 11:37:42 +0100 Subject: [PATCH] Fix debug-logging of chalresp_path. Oddity reported by clang. --- pam_yubico.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pam_yubico.c b/pam_yubico.c index 2941232..08491b7 100644 --- a/pam_yubico.c +++ b/pam_yubico.c @@ -739,7 +739,7 @@ parse_cfg (int flags, int argc, const char **argv, struct cfg *cfg) D (("capath=%s", cfg->capath ? cfg->capath : "(null)")); D (("token_id_length=%d", cfg->token_id_length)); D (("mode=%s", cfg->mode == CLIENT ? "client" : "chresp" )); - D (("chalresp_path=%d", cfg->chalresp_path)); + D (("chalresp_path=%s", cfg->chalresp_path ? cfg->chalresp_path : "(null)")); } }