From b4486ce81fefae716549959eaa82612dac63cbe5 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Wed, 17 Jul 2013 17:05:39 +0200 Subject: Add mising argument required by format string --- src/providers/krb5/krb5_common.c | 5 +++-- src/util/sss_krb5.c | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/providers/krb5/krb5_common.c b/src/providers/krb5/krb5_common.c index 8f5eb496..0e1c10be 100644 --- a/src/providers/krb5/krb5_common.c +++ b/src/providers/krb5/krb5_common.c @@ -923,8 +923,9 @@ errno_t krb5_get_simple_upn(TALLOC_CTX *mem_ctx, struct krb5_ctx *krb5_ctx, */ ret = sss_parse_name(tmp_ctx, dom->names, username, &domname, &name); if (ret != EOK) { - DEBUG(SSSDBG_OP_FAILURE, ("Could not parse %s into name and " \ - "domain components, login might fail\n")); + DEBUG(SSSDBG_OP_FAILURE, + ("Could not parse [%s] into name and " + "domain components, login might fail\n", username)); name = discard_const(username); } diff --git a/src/util/sss_krb5.c b/src/util/sss_krb5.c index 204e0c2a..b871b13c 100644 --- a/src/util/sss_krb5.c +++ b/src/util/sss_krb5.c @@ -640,7 +640,7 @@ errno_t check_fast(const char *str, bool *use_fast) *use_fast = true; } else { sss_log(SSS_LOG_ALERT, "Unsupported value [%s] for option krb5_use_fast," - "please use never, try, or demand.\n"); + "please use never, try, or demand.\n", str); return EINVAL; } -- cgit