From owner-svn-src-all@FreeBSD.ORG Thu Nov 24 20:37:09 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F07D81065672; Thu, 24 Nov 2011 20:37:09 +0000 (UTC) (envelope-from trociny@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E07228FC0A; Thu, 24 Nov 2011 20:37:09 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pAOKb9Mw011708; Thu, 24 Nov 2011 20:37:09 GMT (envelope-from trociny@svn.freebsd.org) Received: (from trociny@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pAOKb9RI011706; Thu, 24 Nov 2011 20:37:09 GMT (envelope-from trociny@svn.freebsd.org) Message-Id: <201111242037.pAOKb9RI011706@svn.freebsd.org> From: Mikolaj Golub Date: Thu, 24 Nov 2011 20:37:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r227954 - head/sys/sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2011 20:37:10 -0000 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",