summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2016-06-05 16:09:31 +0000
committerjilles <jilles@FreeBSD.org>2016-06-05 16:09:31 +0000
commitff4d6f61950f6358d7cdc508dfa92042f30d88d6 (patch)
tree62e14831859cfa11fc8f5e9c5aabbf3861a7d8a5 /bin
parent833dcace9c72d5665a99cc9cab8222fcf22cdbeb (diff)
downloadFreeBSD-src-ff4d6f61950f6358d7cdc508dfa92042f30d88d6.zip
FreeBSD-src-ff4d6f61950f6358d7cdc508dfa92042f30d88d6.tar.gz
sh: Improve descriptions in 'ulimit -a' output.
The format limits descriptions to 18 characters and is not changed, so the descriptions do not describe the limits exactly.
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/miscbltin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/miscbltin.c b/bin/sh/miscbltin.c
index 56ecae8..c9dffa9 100644
--- a/bin/sh/miscbltin.c
+++ b/bin/sh/miscbltin.c
@@ -406,7 +406,7 @@ static const struct limits limits[] = {
{ "swap limit", "kbytes", RLIMIT_SWAP, 1024, 'w' },
#endif
#ifdef RLIMIT_SBSIZE
- { "sbsize", "bytes", RLIMIT_SBSIZE, 1, 'b' },
+ { "socket buffer size", "bytes", RLIMIT_SBSIZE, 1, 'b' },
#endif
#ifdef RLIMIT_NPTS
{ "pseudo-terminals", (char *)0, RLIMIT_NPTS, 1, 'p' },
@@ -415,7 +415,7 @@ static const struct limits limits[] = {
{ "kqueues", (char *)0, RLIMIT_KQUEUES, 1, 'k' },
#endif
#ifdef RLIMIT_UMTXP
- { "umtxp", (char *)0, RLIMIT_UMTXP, 1, 'o' },
+ { "umtx shared locks", (char *)0, RLIMIT_UMTXP, 1, 'o' },
#endif
{ (char *) 0, (char *)0, 0, 0, '\0' }
};
OpenPOWER on IntegriCloud