* sec_acl.cc (acltotext32): Add missing handling of default ACL entry

types.
This commit is contained in:
Corinna Vinschen 2006-07-18 14:11:38 +00:00
parent 295912e873
commit 62e9d4b96f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-07-18 Silvio Laguzzi <slaguzzi@data-al.de>
* sec_acl.cc (acltotext32): Add missing handling of default ACL entry
types.
2006-07-18 Corinna Vinschen <corinna@vinschen.de>
* fhandler_floppy.cc (fhandler_dev_floppy::ioctl): Fix typo in lint

View File

@ -728,7 +728,7 @@ acltotext32 (__aclent32_t *aclbufp, int aclcnt)
first = false;
if (aclbufp[pos].a_type & ACL_DEFAULT)
strcat (buf, "default");
switch (aclbufp[pos].a_type)
switch (aclbufp[pos].a_type & ~ACL_DEFAULT)
{
case USER_OBJ:
__small_sprintf (buf + strlen (buf), "user::%s",