From dd34c023297a90f75da9f1fabed8a1603438a962 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Sun, 11 Apr 2010 16:36:15 -0700 Subject: [PATCH] spelling, from Tollef Fog Heen via Brian May of Debian --- lib/hdb/ext.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/hdb/ext.c b/lib/hdb/ext.c index faf0b6bdf..fb32fdb84 100644 --- a/lib/hdb/ext.c +++ b/lib/hdb/ext.c @@ -316,7 +316,7 @@ hdb_entry_get_password(krb5_context context, HDB *db, str = pw.data; if (str[pw.length - 1] != '\0') { - krb5_set_error_message(context, EINVAL, "password malformated"); + krb5_set_error_message(context, EINVAL, "malformed password"); return EINVAL; } @@ -332,7 +332,8 @@ hdb_entry_get_password(krb5_context context, HDB *db, ret = krb5_unparse_name(context, entry->principal, &str); if (ret == 0) { - krb5_set_error_message(context, ENOENT, "no password attributefor %s", str); + krb5_set_error_message(context, ENOENT, + "no password attribute for %s", str); free(str); } else krb5_clear_error_message(context);