svn commit: r184324 - head/sys/kern

Maxim Sobolev sobomax at FreeBSD.org
Sun Oct 26 23:34:41 PDT 2008


Author: sobomax
Date: Mon Oct 27 06:34:41 2008
New Revision: 184324
URL: http://svn.freebsd.org/changeset/base/184324

Log:
  vm_pnames has no reason to be global.
  
  MFC after:	2 weeks

Modified:
  head/sys/kern/subr_param.c

Modified: head/sys/kern/subr_param.c
==============================================================================
--- head/sys/kern/subr_param.c	Mon Oct 27 06:25:02 2008	(r184323)
+++ head/sys/kern/subr_param.c	Mon Oct 27 06:34:41 2008	(r184324)
@@ -118,7 +118,7 @@ SYSCTL_ULONG(_kern, OID_AUTO, sgrowsiz, 
  */
 struct	buf *swbuf;
 
-char *vm_pnames[] = {
+static char *vm_pnames[] = {
 	"VMware Virtual Platform",	/* VMWare VM */
 	"Virtual Machine",		/* Microsoft VirtualPC */
 	"VirtualBox",			/* Sun xVM VirtualBox */


More information about the svn-src-head mailing list