aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2026-06-01 08:51:24 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2026-06-01 08:51:41 +0000
commitdfd2273d27627313f944650840381e878077e825 (patch)
treeb0b1676d5a2995efc157e11d79e65512ccf626fb
parent4ccbceefeb0f2898e2e4bb951862125d0bc5ce34 (diff)
sh: Fix pipebuf limit
Since the factor is not 1, we need to provide a unit. MFC after: 1 week Fixes: 5d92f20c7d31 ("bin/sh: support RLIMIT_PIPEBUF") Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D57352
-rw-r--r--bin/sh/miscbltin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/miscbltin.c b/bin/sh/miscbltin.c
index f96f96ba43d2..d75d33902458 100644
--- a/bin/sh/miscbltin.c
+++ b/bin/sh/miscbltin.c
@@ -516,7 +516,7 @@ static const struct limits limits[] = {
{ "umtx shared locks", (char *)0, RLIMIT_UMTXP, 1, 'o' },
#endif
#ifdef RLIMIT_PIPEBUF
- { "pipebuf", (char *)0, RLIMIT_PIPEBUF, 1024, 'y' },
+ { "pipebuf", "kbytes", RLIMIT_PIPEBUF, 1024, 'y' },
#endif
#ifdef RLIMIT_VMM
{ "virtual machines", (char *)0, RLIMIT_VMM, 1, 'V' },