lchflags(2) takes int, not u_long like chflags(2) and fchflags(2).
Strange, isn't it? Pointed out by: bde
This commit is contained in:
parent
2b2dc3a904
commit
bf64a6b6b4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193373
@ -499,7 +499,7 @@ call_syscall(struct syscall_desc *scall, char *argv[])
|
||||
#endif
|
||||
#ifdef HAS_LCHFLAGS
|
||||
case ACTION_LCHFLAGS:
|
||||
rval = lchflags(STR(0), (unsigned long)str2flags(chflags_flags, STR(1)));
|
||||
rval = lchflags(STR(0), (int)str2flags(chflags_flags, STR(1)));
|
||||
break;
|
||||
#endif
|
||||
case ACTION_TRUNCATE:
|
||||
|
Loading…
Reference in New Issue
Block a user