git: ad524568f9fb - main - limits: Fix pipebuf resource type
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 04 Jun 2026 22:41:59 UTC
The branch main has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=ad524568f9fb77e270a22744d81b9cea0a2ab0eb
commit ad524568f9fb77e270a22744d81b9cea0a2ab0eb
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-06-04 22:41:41 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-06-04 22:41:41 +0000
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
---
usr.bin/limits/limits.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 },
};