From f3faecbbb49704c182b310fb43cec9171c08ccf7 Mon Sep 17 00:00:00 2001 From: Thomas Woerner Date: Fri, 20 Jul 2018 14:57:26 +0200 Subject: [PATCH] Fix $-style format string in ipa_ldap_init (util/ipa_ldap.c) The second argument was not used, but the first one was used twice. Reviewed-By: Rob Crittenden --- util/ipa_ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/ipa_ldap.c b/util/ipa_ldap.c index 789ea0d8c..859eaf1bc 100644 --- a/util/ipa_ldap.c +++ b/util/ipa_ldap.c @@ -39,7 +39,7 @@ int ipa_ldap_init(LDAP **ld, const char *ldap_uri) if (ret != LDAP_SUCCESS) { fprintf( stderr, - _("Unable to initialize connection to ldap server %1$s: %1$s\n"), + _("Unable to initialize connection to ldap server %1$s: %2$s\n"), ldap_uri, ldap_err2string(ret) ); -- 2.17.1