From 46445759e44f5844c739a104439ee686f797d4f7 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 25 Apr 2005 19:58:48 +0000 Subject: [PATCH] Improve error messages --- clients/tools/common.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 ); } -- 2.39.5