summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorotto <>2011-05-12 09:35:37 +0000
committerotto <>2011-05-12 09:35:37 +0000
commit3696413c5e3e4a73b5dd8ecc1906d60fbdafe864 (patch)
tree1893dc7c399410e0d7eec1c4707a0b699051873b /src/lib
parent7cbee63d86258af6a5374f3aeb06adc3f93b8e24 (diff)
downloadopenbsd-3696413c5e3e4a73b5dd8ecc1906d60fbdafe864.tar.gz
openbsd-3696413c5e3e4a73b5dd8ecc1906d60fbdafe864.tar.bz2
openbsd-3696413c5e3e4a73b5dd8ecc1906d60fbdafe864.zip
fix comment, the bitmap is an array of u_short now
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libc/stdlib/malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/malloc.c b/src/lib/libc/stdlib/malloc.c
index d82c326914..eed71c25b6 100644
--- a/src/lib/libc/stdlib/malloc.c
+++ b/src/lib/libc/stdlib/malloc.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: malloc.c,v 1.132 2011/05/12 09:29:30 otto Exp $ */ 1/* $OpenBSD: malloc.c,v 1.133 2011/05/12 09:35:37 otto Exp $ */
2/* 2/*
3 * Copyright (c) 2008 Otto Moerbeek <otto@drijf.net> 3 * Copyright (c) 2008 Otto Moerbeek <otto@drijf.net>
4 * 4 *
@@ -143,7 +143,7 @@ struct dir_info {
143/* 143/*
144 * This structure describes a page worth of chunks. 144 * This structure describes a page worth of chunks.
145 * 145 *
146 * How many bits per u_long in the bitmap 146 * How many bits per u_short in the bitmap
147 */ 147 */
148#define MALLOC_BITS (NBBY * sizeof(u_short)) 148#define MALLOC_BITS (NBBY * sizeof(u_short))
149struct chunk_info { 149struct chunk_info {