diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-07-17 17:05:39 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-07-19 10:22:01 +0200 |
commit | b4486ce81fefae716549959eaa82612dac63cbe5 (patch) | |
tree | f44a945e0b9f52afeb097a2787a950d224050182 /src | |
parent | 6b093561a0a7e2f1e434cb4caa4e772cbe49468e (diff) | |
download | sssd-b4486ce81fefae716549959eaa82612dac63cbe5.tar.gz sssd-b4486ce81fefae716549959eaa82612dac63cbe5.tar.bz2 sssd-b4486ce81fefae716549959eaa82612dac63cbe5.zip |
Add mising argument required by format string
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/krb5/krb5_common.c | 5 | ||||
-rw-r--r-- | src/util/sss_krb5.c | 2 |
2 files changed, 4 insertions, 3 deletions
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; } |