svn commit: r184326 - head/sys/kern

Maxim Sobolev sobomax at FreeBSD.org
Mon Oct 27 01:09:05 PDT 2008


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 */


More information about the svn-src-all mailing list