diff --git a/sys/sys/resource.h b/sys/sys/resource.h index 03fbd709d50c..6f2c6f949adc 100644 --- a/sys/sys/resource.h +++ b/sys/sys/resource.h @@ -106,7 +106,7 @@ struct rusage { */ #ifdef _RLIMIT_IDENT -static char *rlimit_ident[] = { +static char *rlimit_ident[RLIM_NLIMITS] = { "cpu", "fsize", "data", @@ -118,6 +118,7 @@ static char *rlimit_ident[] = { "nofile", "sbsize", "vmem", + "npts", }; #endif