From: Kern Sibbald Date: Fri, 27 Jun 2014 14:54:17 +0000 (+0200) Subject: Fix bad copy/migrate data header X-Git-Tag: Release-7.0.5~48 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c35e09d4656e34db8d185419c046f730e7213cf5;p=bacula%2Fbacula Fix bad copy/migrate data header --- diff --git a/bacula/src/stored/read.c b/bacula/src/stored/read.c index 55134dc525..476b2d4991 100644 --- a/bacula/src/stored/read.c +++ b/bacula/src/stored/read.c @@ -246,7 +246,7 @@ static bool mac_record_cb(DCR *dcr, DEV_RECORD *rec) rec->data_len); /* Send data header to File daemon */ - if (!fd->fsend("%ld %ld %lld", rec->FileIndex, rec->Stream, rec->data_len)) { + if (!fd->fsend("%ld %ld %ld", rec->FileIndex, rec->Stream, rec->data_len)) { Pmsg1(000, _(">filed: Error Hdr=%s\n"), fd->msg); Jmsg1(jcr, M_FATAL, 0, _("Error sending to File daemon. ERR=%s\n"), fd->bstrerror());