aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/resource.h')
-rw-r--r--sys/sys/resource.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/resource.h b/sys/sys/resource.h
index d01b0bd67f4c..03fbd709d50c 100644
--- a/sys/sys/resource.h
+++ b/sys/sys/resource.h
@@ -93,8 +93,9 @@ struct rusage {
#define RLIMIT_SBSIZE 9 /* maximum size of all socket buffers */
#define RLIMIT_VMEM 10 /* virtual process size (inclusive of mmap) */
#define RLIMIT_AS RLIMIT_VMEM /* standard name for RLIMIT_VMEM */
+#define RLIMIT_NPTS 11 /* pseudo-terminals */
-#define RLIM_NLIMITS 11 /* number of resource limits */
+#define RLIM_NLIMITS 12 /* number of resource limits */
#define RLIM_INFINITY ((rlim_t)(((uint64_t)1 << 63) - 1))
/* XXX Missing: RLIM_SAVED_MAX, RLIM_SAVED_CUR */