Zero-out the whole pstats structure and then copy the relevant fields,
authorHiten Pandya <hmp@dragonflybsd.org>
Sun, 20 Jun 2004 17:44:11 +0000 (17:44 +0000)
committerHiten Pandya <hmp@dragonflybsd.org>
Sun, 20 Jun 2004 17:44:11 +0000 (17:44 +0000)
commit236481aaef2746117dc7d14fba1b50492c4e76e6
tree3c2155b07c7e4e1783e6f022fc4a4fff197446f8
parentd96aa8ebeb9c6c8ebcb01a6a0bd3ca3ca8d373e3
Zero-out the whole pstats structure and then copy the relevant fields,
instead of messing with caddr_t's and range-based zero'ing.

Discussed-with:  Matthew Dillon <dillon@backplane.com>
sys/sys/resourcevar.h
sys/vm/vm_glue.c