]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Fix typos in kdb5_util master key command outputs
authorGreg Hudson <ghudson@mit.edu>
Mon, 21 Oct 2013 20:46:15 +0000 (16:46 -0400)
committerTom Yu <tlyu@mit.edu>
Tue, 29 Oct 2013 18:19:42 +0000 (14:19 -0400)
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.

(cherry picked from commit 7fee58ccadf1b61eec9a8c62f47dac43986e2ad1)

ticket: 7744 (new)
version_fixed: 1.10.7
status: resolved

src/kadmin/dbutil/kdb5_mkey.c

index 39529941068677c19e5e9c703a7eaba30844b9c9..f8d19347ba1fecb5caced61cb5fb52be51380489 100644 (file)
@@ -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);
             }
         }
@@ -1231,10 +1231,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);
     }