From c7a8bfa74c527c8de5b27e371df1f3a39b83e869 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Mon, 14 May 2012 15:24:02 -0400 Subject: [PATCH] Add missing newline to sn2princ debug message Patch from wking@tremily.us. ticket: 7131 --- src/lib/krb5/os/sn2princ.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/os/sn2princ.c b/src/lib/krb5/os/sn2princ.c index f149febda..edf13189a 100644 --- a/src/lib/krb5/os/sn2princ.c +++ b/src/lib/krb5/os/sn2princ.c @@ -109,7 +109,8 @@ krb5_sname_to_principal(krb5_context context, const char *hostname, const char * err = getaddrinfo(hostname, 0, &hints, &ai); if (err) { #ifdef DEBUG_REFERRALS - printf("sname_to_princ: failed to canonicalize %s; using as-is", hostname); + printf("sname_to_princ: failed to canonicalize %s; " + "using as-is\n", hostname); #endif } remote_host = strdup((ai && ai->ai_canonname) ? ai->ai_canonname : hostname); -- 2.26.2