have error match API call

This commit is contained in:
Kurt Zeilenga 2007-06-21 22:02:08 +00:00
parent ae47797cc8
commit 73ad5a7217

View file

@ -160,7 +160,7 @@ main( int argc, char *argv[] )
rc = ldap_whoami( ld, NULL, NULL, &id );
if( rc != LDAP_SUCCESS ) {
tool_perror( "ldap_extended_operation", rc, NULL, NULL, NULL, NULL );
tool_perror( "ldap_whoami", rc, NULL, NULL, NULL, NULL );
rc = EXIT_FAILURE;
goto skip;
}