Fix a recusive call introduce in the r340130.

This commit is contained in:
oshogbo 2018-11-04 18:52:59 +00:00
parent 421382fc30
commit b5204abf67

View File

@ -160,7 +160,7 @@ static __inline int
caph_fcntls_limit(int fd, uint32_t fcntlrights)
{
if (caph_fcntls_limit(fd, fcntlrights) < 0 && errno != ENOSYS)
if (cap_fcntls_limit(fd, fcntlrights) < 0 && errno != ENOSYS)
return (-1);
return (0);