Skip to content

Commit b03db98

Browse files
author
Jean-Pierre André
committed
Fixed the description of options for setfacl()
Added TYPE_NONE to signal the end of the list of options for setfacl(). Actually this does nothing as TYPE_NONE is 0, the default value for uninitialized array elements.
1 parent 29f6fb4 commit b03db98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fstest.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ static struct syscall_desc syscalls[] = {
128128
{ "lstat", ACTION_LSTAT, { TYPE_STRING, TYPE_STRING, TYPE_NONE } },
129129
#ifdef HAS_ACL
130130
{ "getfacl", ACTION_GETFACL, { TYPE_STRING, TYPE_STRING, TYPE_NONE } },
131-
{ "setfacl", ACTION_SETFACL, { TYPE_STRING, TYPE_STRING, TYPE_STRING | TYPE_OPTIONAL } },
131+
{ "setfacl", ACTION_SETFACL, { TYPE_STRING, TYPE_STRING,
132+
TYPE_STRING | TYPE_OPTIONAL, TYPE_NONE } },
132133
#endif
133134
{ NULL, -1, { TYPE_NONE } }
134135
};

0 commit comments

Comments
 (0)