]> git.sur5r.net Git - openldap/commitdiff
have error match API call
authorKurt Zeilenga <kurt@openldap.org>
Thu, 21 Jun 2007 22:02:08 +0000 (22:02 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 21 Jun 2007 22:02:08 +0000 (22:02 +0000)
clients/tools/ldapwhoami.c

index 158f2a3206e6c407746c9a836237ff47aed8c342..daaf254a2c0bbedc4a29e211aaef4d17973f136e 100644 (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;
        }