summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-07-09 08:39:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-07-09 08:39:25 +0000
commitb0cdb5566cbd25ac28f9e09ef2ac2bceb7df9aca (patch)
treef5206fa934cb42aa48c42330395d971dd7514dbc /lib
parent83c96f8a8411e34530e3406153405d0d63f36f7d (diff)
use PAGE_SHIFT instead of PGSHIFT, in preperation for future
param.h symbol reduction. ok guenther
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdlib/malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c
index 7cab70585d9..ff71da8f6ef 100644
--- a/lib/libc/stdlib/malloc.c
+++ b/lib/libc/stdlib/malloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: malloc.c,v 1.145 2012/06/26 21:36:25 tedu Exp $ */
+/* $OpenBSD: malloc.c,v 1.146 2012/07/09 08:39:24 deraadt Exp $ */
/*
* Copyright (c) 2008 Otto Moerbeek <otto@drijf.net>
*
@@ -54,7 +54,7 @@
#elif defined(__mips64__)
#define MALLOC_PAGESHIFT (14U)
#else
-#define MALLOC_PAGESHIFT (PGSHIFT)
+#define MALLOC_PAGESHIFT (PAGE_SHIFT)
#endif
#define MALLOC_MINSHIFT 4