summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-06-26 01:01:07 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-06-26 01:01:07 +0000
commit8088ceae16aa7cb57b76bd7997e214c0232fa068 (patch)
tree2a4c5b0bd5fcc0b572d42379c5eae56d38d2961c /sys
parent394e5c1a2aa0c8a5648d113883a925d54e7d9a39 (diff)
addrmask canbe const
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c
index 6f65a07241e..2ed375dde26 100644
--- a/sys/kern/kern_malloc.c
+++ b/sys/kern/kern_malloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_malloc.c,v 1.53 2003/06/02 23:28:05 millert Exp $ */
+/* $OpenBSD: kern_malloc.c,v 1.54 2003/06/26 01:01:06 mickey Exp $ */
/* $NetBSD: kern_malloc.c,v 1.15.4.2 1996/06/13 17:10:56 cgd Exp $ */
/*
@@ -86,7 +86,7 @@ extern struct lock sysctl_kmemlock;
/*
* This structure provides a set of masks to catch unaligned frees.
*/
-long addrmask[] = { 0,
+const long addrmask[] = { 0,
0x00000001, 0x00000003, 0x00000007, 0x0000000f,
0x0000001f, 0x0000003f, 0x0000007f, 0x000000ff,
0x000001ff, 0x000003ff, 0x000007ff, 0x00000fff,