Skip to content

Commit

Permalink
Add missing newlines to deprecation warnings
Browse files Browse the repository at this point in the history
Commit 8d8e682 omitted newlines in
two warning messages sent to stderr.  Add them now.

ticket: 8773
  • Loading branch information
greghudson committed May 21, 2019
1 parent 6ad061e commit 274fee2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/kdc/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit 274fee2

Please sign in to comment.