Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2011 20:37:09 +0000 (UTC)
From:      Mikolaj Golub <trociny@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r227954 - head/sys/sys
Message-ID:  <201111242037.pAOKb9RI011706@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trociny
Date: Thu Nov 24 20:37:09 2011
New Revision: 227954
URL: http://svn.freebsd.org/changeset/base/227954

Log:
  Add const qualifier to rlimit_ident.
  
  Reviewed by:	kib
  MFC after:	2 weeks

Modified:
  head/sys/sys/resource.h

Modified: head/sys/sys/resource.h
==============================================================================
--- head/sys/sys/resource.h	Thu Nov 24 20:34:50 2011	(r227953)
+++ head/sys/sys/resource.h	Thu Nov 24 20:37:09 2011	(r227954)
@@ -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?201111242037.pAOKb9RI011706>