diff --git a/lib/hdb/hdb-mitdb.c b/lib/hdb/hdb-mitdb.c index 6a6f06be8..ef4d94778 100644 --- a/lib/hdb/hdb-mitdb.c +++ b/lib/hdb/hdb-mitdb.c @@ -1061,8 +1061,8 @@ mdb_open(krb5_context context, HDB *db, int flags, mode_t mode) } krb5_error_code -hdb_mdb_create(krb5_context context, HDB **db, - const char *filename) +hdb_mitdb_create(krb5_context context, HDB **db, + const char *filename) { *db = calloc(1, sizeof(**db)); if (*db == NULL) { diff --git a/lib/hdb/hdb.c b/lib/hdb/hdb.c index 6486840e0..237a29773 100644 --- a/lib/hdb/hdb.c +++ b/lib/hdb/hdb.c @@ -68,7 +68,7 @@ static struct hdb_method methods[] = { { HDB_INTERFACE_VERSION, "db:", hdb_db_create}, #endif #if HAVE_DB1 - { HDB_INTERFACE_VERSION, "mit-db:", hdb_mdb_create}, + { HDB_INTERFACE_VERSION, "mit-db:", hdb_mitdb_create}, #endif #if HAVE_NDBM { HDB_INTERFACE_VERSION, "ndbm:", hdb_ndbm_create},