diff options
Diffstat (limited to 'vm/vm_resident.c')
-rw-r--r-- | vm/vm_resident.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vm/vm_resident.c b/vm/vm_resident.c index b939b1d..2c99ab5 100644 --- a/vm/vm_resident.c +++ b/vm/vm_resident.c @@ -33,6 +33,8 @@ * Resident memory management module. */ +#include <string.h> + #include <mach/vm_prot.h> #include <kern/counters.h> #include <kern/sched_prim.h> @@ -959,7 +961,7 @@ vm_page_grab_contiguous_pages( } else alloc_size = 0; - bzero(bits, size); + memset(bits, 0, size); /* * A very large granularity call, its rare so that is ok |