vm_pnames should be "const char *const[]".
Submitted by: Christoph Mallon
This commit is contained in:
parent
fa38c35148
commit
4da059f304
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user