From 606a050e3a9b2d43b31147b70d77963fb8957672 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sun, 27 Apr 2008 01:49:34 +0000 Subject: [PATCH] remove nlist check --- src/os/darwin/darwin_sigar.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/os/darwin/darwin_sigar.c b/src/os/darwin/darwin_sigar.c index 7c8ba9da..d105fb82 100644 --- a/src/os/darwin/darwin_sigar.c +++ b/src/os/darwin/darwin_sigar.c @@ -179,9 +179,6 @@ static int get_koffsets(sigar_t *sigar) } kvm_nlist(sigar->kmem, klist); - if (klist[0].n_type == 0) { - return errno; - } for (i=0; ikoffsets[i] = klist[i].n_value;