From: Greg Hudson Date: Mon, 21 Oct 2013 20:46:15 +0000 (-0400) Subject: Fix typos in kdb5_util master key command outputs X-Git-Tag: krb5-1.13-alpha1~346 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fee58ccadf1b61eec9a8c62f47dac43986e2ad1;p=thirdparty%2Fkrb5.git Fix typos in kdb5_util master key command outputs kdb5_util list_mkeys was beginning lines with "KNVO" instead of "KVNO". kdb5_util purge_mkeys was displaying "follwing" instead of "following" for both dry-run and normal cases. ticket: 7730 (new) target_version: 1.12 tags: pullup --- diff --git a/src/kadmin/dbutil/kdb5_mkey.c b/src/kadmin/dbutil/kdb5_mkey.c index 0fbbb78ed3..18cfb1c167 100644 --- a/src/kadmin/dbutil/kdb5_mkey.c +++ b/src/kadmin/dbutil/kdb5_mkey.c @@ -664,16 +664,16 @@ kdb5_list_mkeys(int argc, char *argv[]) if (cur_kb_node->kvno == act_kvno) { /* * indicates kvno is currently active */ retval = asprintf(&output_str, - _("KNVO: %d, Enctype: %s, Active on: %s *\n"), + _("KVNO: %d, Enctype: %s, Active on: %s *\n"), cur_kb_node->kvno, enctype, strdate(act_time)); } else { if (act_time != -1) { retval = asprintf(&output_str, - _("KNVO: %d, Enctype: %s, Active on: %s\n"), + _("KVNO: %d, Enctype: %s, Active on: %s\n"), cur_kb_node->kvno, enctype, strdate(act_time)); } else { retval = asprintf(&output_str, - _("KNVO: %d, Enctype: %s, No activate time " + _("KVNO: %d, Enctype: %s, No activate time " "set\n"), cur_kb_node->kvno, enctype); } } @@ -1247,10 +1247,10 @@ kdb5_purge_mkeys(int argc, char *argv[]) * princ entries */ if (dry_run) { - printf(_("Would purge the follwing master key(s) from %s:\n"), + printf(_("Would purge the following master key(s) from %s:\n"), mkey_fullname); } else { - printf(_("Purging the follwing master key(s) from %s:\n"), + printf(_("Purging the following master key(s) from %s:\n"), mkey_fullname); }