Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jan 2012 16:45:44 +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-9@freebsd.org
Subject:   svn commit: r229705 - stable/9/sys/sys
Message-ID:  <201201061645.q06GjiK4097985@svn.freebsd.org>

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



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