svn commit: r229706 - stable/8/sys/sys

Mikolaj Golub trociny at FreeBSD.org
Fri Jan 6 16:46:53 UTC 2012


Author: trociny
Date: Fri Jan  6 16:46:52 2012
New Revision: 229706
URL: http://svn.freebsd.org/changeset/base/229706

Log:
  MFC r227954:
  
  Add const qualifier to rlimit_ident.

Modified:
  stable/8/sys/sys/resource.h
Directory Properties:
  stable/8/sys/   (props changed)

Modified: stable/8/sys/sys/resource.h
==============================================================================
--- stable/8/sys/sys/resource.h	Fri Jan  6 16:45:44 2012	(r229705)
+++ stable/8/sys/sys/resource.h	Fri Jan  6 16:46:52 2012	(r229706)
@@ -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",


More information about the svn-src-all mailing list