From: Kurt Zeilenga Date: Thu, 7 Jun 2001 16:15:25 +0000 (+0000) Subject: Fix typos in last commit X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1353 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d773c7178f03047fa0aa88d56455aa155b06866f;p=openldap Fix typos in last commit --- diff --git a/libraries/libldbm/ldbm.c b/libraries/libldbm/ldbm.c index 5005bc3f32..faa076ba18 100644 --- a/libraries/libldbm/ldbm.c +++ b/libraries/libldbm/ldbm.c @@ -112,7 +112,7 @@ int ldbm_initialize( const char* home ) version = db_version( &major, &minor, &patch ); if( major != DB_VERSION_MAJOR || - minor >= DB_VERSION_MINOR ) + minor < DB_VERSION_MINOR ) { #ifdef LDAP_SYSLOG char error[BUFSIZ]; @@ -120,7 +120,7 @@ int ldbm_initialize( const char* home ) sprintf( error, "%s (%d)\n", STRERROR( err ), err ); syslog( LOG_INFO, - "ldbm_initialize(): versoin mismatch\nexpected: %s\ngot: %s\n", + "ldbm_initialize(): version mismatch\nexpected: %s\ngot: %s\n", DB_VERSION_STRING, version ); #endif