krb5 commit: Add missing newlines to deprecation warnings

Greg Hudson ghudson at mit.edu
Tue May 21 12:59:38 EDT 2019


https://github.com/krb5/krb5/commit/274fee295d1429668b31c6ed898fc5d11a7e3589
commit 274fee295d1429668b31c6ed898fc5d11a7e3589
Author: Greg Hudson <ghudson at mit.edu>
Date:   Tue May 21 12:52:26 2019 -0400

    Add missing newlines to deprecation warnings
    
    Commit 8d8e68283b599e680f9fe45eff8af397e827bd6c omitted newlines in
    two warning messages sent to stderr.  Add them now.
    
    ticket: 8773

 src/kdc/main.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/kdc/main.c b/src/kdc/main.c
index be54daf..54de24f 100644
--- a/src/kdc/main.c
+++ b/src/kdc/main.c
@@ -223,7 +223,8 @@ init_realm(kdc_realm_t * rdp, krb5_pointer aprof, char *realm,
         if (krb5_enctype_to_name(def_enctype, FALSE, ename, sizeof(ename)))
             ename[0] = '\0';
         fprintf(stderr,
-                _("Requested master password enctype %s in %s is DEPRECATED!"),
+                _("Requested master password enctype %s in %s is "
+                  "DEPRECATED!\n"),
                 ename, realm);
     }
 
@@ -385,7 +386,7 @@ init_realm(kdc_realm_t * rdp, krb5_pointer aprof, char *realm,
         if (krb5_enctype_to_name(rdp->realm_mkey.enctype, FALSE, ename,
                                  sizeof(ename)))
             ename[0] = '\0';
-        fprintf(stderr, _("Stash file %s uses DEPRECATED enctype %s!"),
+        fprintf(stderr, _("Stash file %s uses DEPRECATED enctype %s!\n"),
                 rdp->realm_stash, ename);
     }
 


More information about the cvs-krb5 mailing list