krb5: Fix spelling of error messages

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
This commit is contained in:
Joseph Sutton
2023-06-23 12:56:24 +12:00
committed by Jeffrey Altman
parent 91d54fd4c9
commit 7369cbd11c
8 changed files with 16 additions and 16 deletions

View File

@@ -558,14 +558,14 @@ krb5_cc_get_full_name(krb5_context context,
type = krb5_cc_get_type(context, id);
if (type == NULL) {
krb5_set_error_message(context, KRB5_CC_UNKNOWN_TYPE,
"cache have no name of type");
"cache has no name of type");
return KRB5_CC_UNKNOWN_TYPE;
}
name = krb5_cc_get_name(context, id);
if (name == NULL) {
krb5_set_error_message(context, KRB5_CC_BADNAME,
"cache of type %s have no name", type);
"cache of type %s has no name", type);
return KRB5_CC_BADNAME;
}