From: Kern Sibbald Date: Mon, 18 Apr 2016 10:38:23 +0000 (+0200) Subject: Fix compilation for AIX X-Git-Tag: Release-7.4.1~23 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fa1322bde23849054cb4a4681cef37f3b7902b54;p=bacula%2Fbacula Fix compilation for AIX --- diff --git a/bacula/src/filed/acl.c b/bacula/src/filed/acl.c index f8c3dd889b..5285a4c690 100644 --- a/bacula/src/filed/acl.c +++ b/bacula/src/filed/acl.c @@ -266,7 +266,7 @@ static bacl_rtn_code aix_backup_acl_streams(JCR *jcr, FF_PKT *ff_pkt) acltxtsize = sizeof_pool_memory(jcr->acl_ctx->content); if (aclx_printStr(jcr->acl_ctx->content, &acltxtsize, aclbuf, aclsize, type, jcr->last_fname, 0) < 0) { - if ((errno == ENOSPC) { + if (errno == ENOSPC) { /* * Our buffer is not big enough, acltxtsize should be updated with the value * the aclx_printStr really need. So we increase the buffer and try again.