From: Marco van Wieringen Date: Fri, 6 Feb 2009 14:04:15 +0000 (+0000) Subject: Fixed two typos while implementing new Solaris xattr code. X-Git-Tag: Release-3.0.0~255 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b2f324617139bcad6972d3e620548aa47fef2f7b;p=bacula%2Fbacula Fixed two typos while implementing new Solaris xattr code. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8425 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/filed/acl.c b/bacula/src/filed/acl.c index c46da038bd..72ed49c336 100644 --- a/bacula/src/filed/acl.c +++ b/bacula/src/filed/acl.c @@ -59,7 +59,7 @@ /* * List of supported OSs. Everything outside that gets stub functions. - * Also when XATTR support is explicitly disabled. + * Also when ACL support is explicitly disabled. * Not sure if all the HAVE_XYZ_OS are correct for autoconf. * The ones that says man page, are coded according to man pages only. */ @@ -1151,7 +1151,7 @@ static bool solaris_build_acl_streams(JCR *jcr, FF_PKT *ff_pkt); char *acl_text; n = acl(jcr->last_fname, GETACLCNT, 0, NULL); - if (n < MIN_ACL_ENTRIES) { + if (n < MIN_ACL_ENTRIES) return false; acls = (aclent_t *)malloc(n * sizeof(aclent_t));