summaryrefslogtreecommitdiffstats
path: root/sys/sys
diff options
context:
space:
mode:
authortrociny <trociny@FreeBSD.org>2011-11-24 20:37:09 +0000
committertrociny <trociny@FreeBSD.org>2011-11-24 20:37:09 +0000
commit98cbd39410e704b31a7eba6b858448ffef5974c1 (patch)
treead8b61de0f3a5090125d66ffb306274dbe496fbf /sys/sys
parent8b2f6e43b61b29d526778920308bd1e923bca53b (diff)
downloadFreeBSD-src-98cbd39410e704b31a7eba6b858448ffef5974c1.zip
FreeBSD-src-98cbd39410e704b31a7eba6b858448ffef5974c1.tar.gz
Add const qualifier to rlimit_ident.
Reviewed by: kib MFC after: 2 weeks
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/resource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/resource.h b/sys/sys/resource.h
index 7d0b4ee..c5e912b 100644
--- a/sys/sys/resource.h
+++ b/sys/sys/resource.h
@@ -108,7 +108,7 @@ struct rusage {
*/
#ifdef _RLIMIT_IDENT
-static char *rlimit_ident[RLIM_NLIMITS] = {
+static const char *rlimit_ident[RLIM_NLIMITS] = {
"cpu",
"fsize",
"data",
OpenPOWER on IntegriCloud