krb5 commit [krb5-1.15]: Fix doubled "kadmind:" in kadmind fail_to_start()

Greg Hudson ghudson at mit.edu
Wed May 2 01:26:06 EDT 2018


https://github.com/krb5/krb5/commit/fa945612c78e667771fecfc1b29e8a005c14c02c
commit fa945612c78e667771fecfc1b29e8a005c14c02c
Author: Greg Hudson <ghudson at mit.edu>
Date:   Mon Apr 23 14:54:17 2018 -0400

    Fix doubled "kadmind:" in kadmind fail_to_start()
    
    Commit 779a335f4e2deb2d76caf7d0dd3de847a040c050 added the
    fail_to_start() helper in ovsec_kadmd.c, accidentally sending the
    program name to stderr twice.  Remove one of them.
    
    (cherry picked from commit 047d6641bc74696b7cbba0daf56abe632a1b8940)
    
    ticket: 8669
    version_fixed: 1.15.3

 src/kadmin/server/ovsec_kadmd.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/kadmin/server/ovsec_kadmd.c b/src/kadmin/server/ovsec_kadmd.c
index a3edd3b..19ec22f 100644
--- a/src/kadmin/server/ovsec_kadmd.c
+++ b/src/kadmin/server/ovsec_kadmd.c
@@ -106,7 +106,6 @@ fail_to_start(krb5_error_code code, const char *msg)
 {
     const char *errmsg;
 
-    fprintf(stderr, "%s: ", progname);
     if (code) {
         errmsg = krb5_get_error_message(context, code);
         fprintf(stderr, _("%s: %s while %s, aborting\n"), progname, errmsg,


More information about the cvs-krb5 mailing list