aboutsummaryrefslogtreecommitdiff
path: root/lib/libcapsicum
diff options
context:
space:
mode:
authorMariusz Zaborski <oshogbo@FreeBSD.org>2018-11-04 18:52:59 +0000
committerMariusz Zaborski <oshogbo@FreeBSD.org>2018-11-04 18:52:59 +0000
commit9e5493752a7edcdc3107239e79f9bc0f13cb63c2 (patch)
treed015efd844f040ca70a9116c304cf7d603c3b589 /lib/libcapsicum
parent9b5dd8ff8b77fa4e9940707870b7b1972522d0c4 (diff)
Fix a recusive call introduce in the r340130.
Notes
Notes: svn path=/head/; revision=340134
Diffstat (limited to 'lib/libcapsicum')
-rw-r--r--lib/libcapsicum/capsicum_helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcapsicum/capsicum_helpers.h b/lib/libcapsicum/capsicum_helpers.h
index c94cd867f2e1..d1c46e74f388 100644
--- a/lib/libcapsicum/capsicum_helpers.h
+++ b/lib/libcapsicum/capsicum_helpers.h
@@ -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);