summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2008-10-27 08:09:05 +0000
committersobomax <sobomax@FreeBSD.org>2008-10-27 08:09:05 +0000
commit2bddeb51d2ea4f49f6d9b8533d381144dacce186 (patch)
tree520d74f95dffbb609870bbdf4516b2dfa02deb66 /sys
parentc9fd562aa08bd5e39b6ecd341c46c1a28c93e123 (diff)
downloadFreeBSD-src-2bddeb51d2ea4f49f6d9b8533d381144dacce186.zip
FreeBSD-src-2bddeb51d2ea4f49f6d9b8533d381144dacce186.tar.gz
vm_pnames should be "const char *const[]".
Submitted by: Christoph Mallon
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_param.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c
index 430657c..9a30ee9 100644
--- a/sys/kern/subr_param.c
+++ b/sys/kern/subr_param.c
@@ -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 */
OpenPOWER on IntegriCloud