From: Kern Sibbald Date: Thu, 1 Jun 2006 11:33:41 +0000 (+0000) Subject: Correct compile errors in acl.c X-Git-Tag: Release-2.0.0~844 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=abb294d28273ddd2c2c2005cf141a74dbdb7daf6;p=bacula%2Fbacula Correct compile errors in acl.c git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3040 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/filed/acl.c b/bacula/src/filed/acl.c index d7ad3fdd30..284b777814 100644 --- a/bacula/src/filed/acl.c +++ b/bacula/src/filed/acl.c @@ -202,7 +202,7 @@ int bacl_set(JCR *jcr, int acltype) berrno be; Jmsg2(jcr, M_ERROR, 0, _("acl_from_text error on file \"%s\": ERR=%s\n"), jcr->last_fname, be.strerror()); - Dmsg3(100, "acl_from_text error acl=%s file=%s ERR=%s\n"), + Dmsg3(100, "acl_from_text error acl=%s file=%s ERR=%s\n", jcr->acl_text, jcr->last_fname, be.strerror()); return -1; } @@ -219,9 +219,10 @@ int bacl_set(JCR *jcr, int acltype) #endif if (acl_set_file(jcr->last_fname, ostype, acl) != 0) { + berrno be; Jmsg2(jcr, M_ERROR, 0, _("acl_set_file error on file \"%s\": ERR=%s\n"), jcr->last_fname, be.strerror()); - Dmsg3(100, "acl_set_file error acl=%s file=%s ERR=%s\n"), + Dmsg3(100, "acl_set_file error acl=%s file=%s ERR=%s\n", jcr->acl_text, jcr->last_fname, be.strerror()); acl_free(acl); return -1;