From: Kern Sibbald Date: Sun, 20 Sep 2009 12:03:45 +0000 (+0200) Subject: Fix compile error on Mac X-Git-Tag: Release-5.0.0~299^2~33 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7716ca3d915b56b51ed202c4e273fa09dafe4459;p=bacula%2Fbacula Fix compile error on Mac --- diff --git a/bacula/src/filed/restore.c b/bacula/src/filed/restore.c index a9e072975b..680146700f 100644 --- a/bacula/src/filed/restore.c +++ b/bacula/src/filed/restore.c @@ -126,7 +126,7 @@ bool restore_finderinfo(JCR *jcr, POOLMEM *buf, int32_t buflen) Dmsg0(130, "Restoring Finder Info\n"); jcr->ff->flags |= FO_HFSPLUS; if (buflen != 32) { - Jmsg(jcr, M_ERROR, 0, _("Invalid length of Finder Info (got %d, not 32)\n"), sd->msglen); + Jmsg(jcr, M_ERROR, 0, _("Invalid length of Finder Info (got %d, not 32)\n"), buflen); return false; }