vm_pnames should be "const char *const[]".

Submitted by:	Christoph Mallon
This commit is contained in:
Maxim Sobolev 2008-10-27 08:09:05 +00:00
parent fa38c35148
commit 4da059f304

View File

@ -118,7 +118,7 @@ SYSCTL_ULONG(_kern, OID_AUTO, sgrowsiz, CTLFLAG_RDTUN, &sgrowsiz, 0,
*/
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 */