From: Kern Sibbald Date: Sat, 9 Jun 2012 09:48:33 +0000 (+0200) Subject: Add more debug code for bug 1885 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=648adc44c4dd8ea0a0767e132cd8686ada361c05;p=bacula%2Fbacula Add more debug code for bug 1885 --- diff --git a/bacula/src/dird/catreq.c b/bacula/src/dird/catreq.c index e193bff464..8fab887fc9 100644 --- a/bacula/src/dird/catreq.c +++ b/bacula/src/dird/catreq.c @@ -541,7 +541,8 @@ static void update_attribute(JCR *jcr, char *msg, int32_t msglen) } else if (crypto_digest_stream_type(Stream) != CRYPTO_DIGEST_NONE) { fname = p; if (ar->FileIndex != FileIndex) { - Jmsg(jcr, M_WARNING, 0, _("Got %s but not same File as attributes\n"), stream_to_ascii(Stream)); + Jmsg3(jcr, M_WARNING, 0, _("%s not same File=%d as attributes=%d\n"), + stream_to_ascii(Stream), FileIndex, ar->FileIndex); } else { /* Update digest in catalog */ char digestbuf[BASE64_SIZE(CRYPTO_DIGEST_MAX_SIZE)];