aboutsummaryrefslogtreecommitdiff
path: root/lib/libcapsicum/capsicum_helpers.h
diff options
context:
space:
mode:
authorMariusz Zaborski <oshogbo@FreeBSD.org>2016-10-04 13:33:43 +0000
committerMariusz Zaborski <oshogbo@FreeBSD.org>2016-10-04 13:33:43 +0000
commit059cc3234281f95e2982140bad9e053b1ebeae9b (patch)
treeeade1b3e4a919e76791724e74e7edafe207ecc33 /lib/libcapsicum/capsicum_helpers.h
parent1834282de6b9f6fd30291bfe1cc9c3ecf5547c40 (diff)
downloadsrc-059cc3234281f95e2982140bad9e053b1ebeae9b.tar.gz
src-059cc3234281f95e2982140bad9e053b1ebeae9b.zip
libcapsicum: limit stderr
Don't limit stdout twice, instead limit stderr. Pointed out by: rpokala@
Notes
Notes: svn path=/head/; revision=306673
Diffstat (limited to 'lib/libcapsicum/capsicum_helpers.h')
-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 ba2df9181a1e..7876f6607720 100644
--- a/lib/libcapsicum/capsicum_helpers.h
+++ b/lib/libcapsicum/capsicum_helpers.h
@@ -96,7 +96,7 @@ caph_limit_stdio(void)
{
if (caph_limit_stdin() == -1 || caph_limit_stdout() == -1 ||
- caph_limit_stdout() == -1) {
+ caph_limit_stderr() == -1) {
return (-1);
}