Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2008 08:09:05 +0000 (UTC)
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r184326 - head/sys/kern
Message-ID:  <200810270809.m9R895IY032151@svn.freebsd.org>

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



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