Author: jilles
Date: Sun Jun  5 16:09:31 2016
New Revision: 301452
URL: https://svnweb.freebsd.org/changeset/base/301452

Log:
  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.

Modified:
  head/bin/sh/miscbltin.c

Modified: head/bin/sh/miscbltin.c
==============================================================================
--- head/bin/sh/miscbltin.c     Sun Jun  5 16:07:57 2016        (r301451)
+++ head/bin/sh/miscbltin.c     Sun Jun  5 16:09:31 2016        (r301452)
@@ -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' }
 };
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to