svn commit: r229705 - stable/9/sys/sys

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


Author: trociny
Date: Fri Jan  6 16:45:44 2012
New Revision: 229705
URL: http://svn.freebsd.org/changeset/base/229705

Log:
  MFC r227954:
  
  Add const qualifier to rlimit_ident.

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

Modified: stable/9/sys/sys/resource.h
==============================================================================
--- stable/9/sys/sys/resource.h	Fri Jan  6 16:20:17 2012	(r229704)
+++ stable/9/sys/sys/resource.h	Fri Jan  6 16:45:44 2012	(r229705)
@@ -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-stable-9 mailing list