aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/sh/miscbltin.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/sh/miscbltin.c b/bin/sh/miscbltin.c
index 6364bd10a584..9d0280bb548a 100644
--- a/bin/sh/miscbltin.c
+++ b/bin/sh/miscbltin.c
@@ -484,6 +484,9 @@ static const struct limits limits[] = {
#ifdef RLIMIT_UMTXP
{ "umtx shared locks", (char *)0, RLIMIT_UMTXP, 1, 'o' },
#endif
+#ifdef RLIMIT_PIPEBUF
+ { "pipebuf", (char *)0, RLIMIT_PIPEBUF, 1024, 'y' },
+#endif
{ (char *) 0, (char *)0, 0, 0, '\0' }
};
@@ -519,7 +522,7 @@ ulimitcmd(int argc __unused, char **argv __unused)
struct rlimit limit;
what = 'f';
- while ((optc = nextopt("HSatfdsmcnuvlbpwko")) != '\0')
+ while ((optc = nextopt("HSatfdsmcnuvlbpwkoy")) != '\0')
switch (optc) {
case 'H':
how = HARD;