Fix a typo in a comment.

This commit is contained in:
Roland C. Dowdeswell
2012-05-21 17:12:16 +01:00
parent ac18aa10dc
commit 2656659fc2

View File

@@ -321,7 +321,7 @@ hdb_db_create(krb5_context context, HDB **db,
const char *filename)
{
DB1_HDB **db1 = (DB1_HDB **)db;
*db = calloc(1, sizeof(**db1)); /* Allocate space for the larger db3 */
*db = calloc(1, sizeof(**db1)); /* Allocate space for the larger db1 */
if (*db == NULL) {
krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
return ENOMEM;