From owner-svn-src-head@FreeBSD.ORG Mon Oct 27 08:09:05 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A25671065679; Mon, 27 Oct 2008 08:09:05 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 91D828FC1C; Mon, 27 Oct 2008 08:09:05 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id m9R8956E032152; Mon, 27 Oct 2008 08:09:05 GMT (envelope-from sobomax@svn.freebsd.org) Received: (from sobomax@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id m9R895IY032151; Mon, 27 Oct 2008 08:09:05 GMT (envelope-from sobomax@svn.freebsd.org) Message-Id: <200810270809.m9R895IY032151@svn.freebsd.org> From: Maxim Sobolev Date: Mon, 27 Oct 2008 08:09:05 +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: r184326 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2008 08:09:05 -0000 Author: sobomax Date: Mon Oct 27 08:09:05 2008 New Revision: 184326 URL: http://svn.freebsd.org/changeset/base/184326 Log: vm_pnames should be "const char *const[]". Submitted by: Christoph Mallon Modified: head/sys/kern/subr_param.c Modified: head/sys/kern/subr_param.c ============================================================================== --- head/sys/kern/subr_param.c Mon Oct 27 07:01:14 2008 (r184325) +++ head/sys/kern/subr_param.c Mon Oct 27 08:09:05 2008 (r184326) @@ -118,7 +118,7 @@ SYSCTL_ULONG(_kern, OID_AUTO, sgrowsiz, */ struct buf *swbuf; -static char *vm_pnames[] = { +static const char *const vm_pnames[] = { "VMware Virtual Platform", /* VMWare VM */ "Virtual Machine", /* Microsoft VirtualPC */ "VirtualBox", /* Sun xVM VirtualBox */