]> git.sur5r.net Git - openldap/commitdiff
Improve error messages
authorKurt Zeilenga <kurt@openldap.org>
Mon, 25 Apr 2005 19:58:48 +0000 (19:58 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 25 Apr 2005 19:58:48 +0000 (19:58 +0000)
clients/tools/common.c

index f78e6b38a6ac396e36360864ecc7ec863175b3b1..083fbcdf8f0fe5b6e9350dadf62205a63aa9db5a 100644 (file)
@@ -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 );
                }