if sys/kern/malloc.c does not #define KMEMSTATS (and DIAGNOSTIC is also
authorkstailey <kstailey@openbsd.org>
Sat, 22 Feb 1997 17:20:30 +0000 (17:20 +0000)
committerkstailey <kstailey@openbsd.org>
Sat, 22 Feb 1997 17:20:30 +0000 (17:20 +0000)
commit43d0ba8dcfb5c2455939731f95ee3a74c44c4694
treed11023c45de9df8210456a1a029cf1ad86a1bf21
parent0ec9be8b86b617178ff2bd44796079b6ddbdaaa5
if sys/kern/malloc.c does not #define KMEMSTATS (and DIAGNOSTIC is also
not #defined) then vmstat should not try to print kernel memory stats.

Fixes NetBSD PR #3187.
usr.bin/vmstat/vmstat.c