summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2012-05-14 15:24:02 -0400
committerGreg Hudson <ghudson@mit.edu>2012-05-14 15:24:02 -0400
commitc7a8bfa74c527c8de5b27e371df1f3a39b83e869 (patch)
treea22f79768354ead8c2ef668fa1cd00fbacedd7eb /src/lib/krb5
parent933798d193ac406b43724f02837e401db09827e3 (diff)
downloadkrb5-c7a8bfa74c527c8de5b27e371df1f3a39b83e869.tar.gz
krb5-c7a8bfa74c527c8de5b27e371df1f3a39b83e869.tar.xz
krb5-c7a8bfa74c527c8de5b27e371df1f3a39b83e869.zip
Add missing newline to sn2princ debug message
Patch from wking@tremily.us. ticket: 7131
Diffstat (limited to 'src/lib/krb5')
-rw-r--r--src/lib/krb5/os/sn2princ.c3
1 files changed, 2 insertions, 1 deletions
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);