From b2f324617139bcad6972d3e620548aa47fef2f7b Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Fri, 6 Feb 2009 14:04:15 +0000 Subject: [PATCH] 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 --- bacula/src/filed/acl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); -- 2.39.5