log more version numbers

This commit is contained in:
Love Hornquist Astrand
2011-01-03 12:12:18 +01:00
parent 1ad64fe599
commit 9427bcc22e
2 changed files with 8 additions and 3 deletions

View File

@@ -574,8 +574,10 @@ process_msg (krb5_context context, slave *s, int log_fd,
/* new started slave that have old log */
if (s->version == 0 && tmp != 0) {
if (current_version < tmp) {
krb5_warnx (context, "Slave %s have later version the master "
"OUT OF SYNC", s->name);
krb5_warnx (context, "Slave %s (version %lu) have later version "
"the master (version %lu) OUT OF SYNC",
s->name, (unsigned long)tmp,
(unsigned long)current_version);
}
s->version = tmp;
}