From: Kurt Zeilenga Date: Mon, 25 Apr 2005 19:58:48 +0000 (+0000) Subject: Improve error messages X-Git-Tag: OPENLDAP_AC_BP~798 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=46445759e44f5844c739a104439ee686f797d4f7;p=openldap Improve error messages --- diff --git a/clients/tools/common.c b/clients/tools/common.c index f78e6b38a6..083fbcdf8f 100644 --- a/clients/tools/common.c +++ b/clients/tools/common.c @@ -659,28 +659,28 @@ tool_args( int argc, char **argv ) if (api.ldapai_info_version != LDAP_API_INFO_VERSION) { fprintf( stderr, "LDAP APIInfo version mismatch: " - "got %d, expected %d\n", + "library %d, header %d\n", api.ldapai_info_version, LDAP_API_INFO_VERSION ); exit( EXIT_FAILURE ); } if( api.ldapai_api_version != LDAP_API_VERSION ) { fprintf( stderr, "LDAP API version mismatch: " - "got %d, expected %d\n", + "library %d, header %d\n", api.ldapai_api_version, LDAP_API_VERSION ); exit( EXIT_FAILURE ); } if( strcmp(api.ldapai_vendor_name, LDAP_VENDOR_NAME ) != 0 ) { fprintf( stderr, "LDAP vendor name mismatch: " - "got %s, expected %s\n", + "library %s, header %s\n", api.ldapai_vendor_name, LDAP_VENDOR_NAME ); exit( EXIT_FAILURE ); } if( api.ldapai_vendor_version != LDAP_VENDOR_VERSION ) { fprintf( stderr, "LDAP vendor version mismatch: " - "got %d, expected %d\n", + "library %d, header %d\n", api.ldapai_vendor_version, LDAP_VENDOR_VERSION ); exit( EXIT_FAILURE ); }