Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jan 2012 16:46:52 +0000 (UTC)
From:      Mikolaj Golub <trociny@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r229706 - stable/8/sys/sys
Message-ID:  <201201061646.q06Gkqnb098054@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201061646.q06Gkqnb098054>