]> git.sur5r.net Git - bacula/bacula/commitdiff
Correct compile errors in acl.c
authorKern Sibbald <kern@sibbald.com>
Thu, 1 Jun 2006 11:33:41 +0000 (11:33 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 1 Jun 2006 11:33:41 +0000 (11:33 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3040 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/filed/acl.c

index d7ad3fdd30c35ea99e9a25cf83d465efba8cdd69..284b777814d4e5a292f156997d48d3caed01980a 100644 (file)
@@ -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;