aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2026-06-04 22:41:41 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2026-06-04 22:41:41 +0000
commitad524568f9fb77e270a22744d81b9cea0a2ab0eb (patch)
treec802d7474e8938ea34f861d40e3b66256ac44d2b
parenta85e39030f8c7faa3d5a33373389440de6f0fff7 (diff)
limits: Fix pipebuf resource type
* pipebuf is a size but is listed as a count PR: 295623 MFC after: 1 week Fixes: f54f41403d14 ("usr.bin/limits: support RLIMIT_PIPEBUF") Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D57456
-rw-r--r--usr.bin/limits/limits.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/limits/limits.c b/usr.bin/limits/limits.c
index a6e95e7c37a9..5afd26230cea 100644
--- a/usr.bin/limits/limits.c
+++ b/usr.bin/limits/limits.c
@@ -246,7 +246,7 @@ static struct {
{ "swapuse", login_getcapsize },
{ "kqueues", login_getcapnum },
{ "umtxp", login_getcapnum },
- { "pipebuf", login_getcapnum },
+ { "pipebuf", login_getcapsize },
{ "vms", login_getcapnum },
};