Skip to content

Commit

Permalink
Fix bug in kadmin check warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
nicowilliams authored and jaltman committed Jan 2, 2019
1 parent 454e729 commit 43a911e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kadmin/check.c
Expand Up @@ -88,9 +88,9 @@ do_check_entry(krb5_principal principal, void *data)
&keysize);
if (ret == 0 && keysize != (size_t)princ.key_data[i].key_data_length[0]) {
krb5_warnx(context,
"Principal %s enctype %d, wrong length: %lu\n",
"Principal %s enctype %d, wrong length: %d\n",
name, princ.key_data[i].key_data_type[0],
(unsigned long)princ.key_data[i].key_data_length);
princ.key_data[i].key_data_length[0]);
}
}

Expand Down

0 comments on commit 43a911e

Please sign in to comment.