Add missing newline to sn2princ debug message
authorGreg Hudson <ghudson@mit.edu>
Mon, 14 May 2012 19:24:02 +0000 (15:24 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 14 May 2012 19:24:02 +0000 (15:24 -0400)
Patch from wking@tremily.us.

ticket: 7131

src/lib/krb5/os/sn2princ.c

index f149febdadef32235a33b70fefff6b27f3c6e72f..edf13189a95715b70fffa1d27674920df0deb11f 100644 (file)
@@ -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);