diff --git a/clients/tools/ldapwhoami.c b/clients/tools/ldapwhoami.c index 7cf1466b73..93beeb2210 100644 --- a/clients/tools/ldapwhoami.c +++ b/clients/tools/ldapwhoami.c @@ -185,7 +185,7 @@ main( int argc, char *argv[] ) ldap_msgfree(res); if( rc != LDAP_SUCCESS ) { - tool_perror( "ldap_parse_extended_result", rc, NULL, NULL, NULL, NULL ); + tool_perror( "ldap_parse_whoami", rc, NULL, NULL, NULL, NULL ); rc = EXIT_FAILURE; goto skip; }