]> git.sur5r.net Git - openldap/commitdiff
Fix typos in last commit
authorKurt Zeilenga <kurt@openldap.org>
Thu, 7 Jun 2001 16:15:25 +0000 (16:15 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 7 Jun 2001 16:15:25 +0000 (16:15 +0000)
libraries/libldbm/ldbm.c

index 5005bc3f3289121dc89ba4431a10fb814d1f22f9..faa076ba18b9cf1c8a8ea554610ca7dbbed232c9 100644 (file)
@@ -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