--- projects/libstatgrab/src/libstatgrab/process_stats.c 2004/04/06 13:40:41 1.55 +++ projects/libstatgrab/src/libstatgrab/process_stats.c 2004/04/06 14:44:29 1.56 @@ -18,7 +18,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA * - * $Id: process_stats.c,v 1.55 2004/04/06 13:40:41 tdb Exp $ + * $Id: process_stats.c,v 1.56 2004/04/06 14:44:29 tdb Exp $ */ #ifdef HAVE_CONFIG_H @@ -322,6 +322,9 @@ sg_process_stats *sg_get_process_stats(int *entries){ return NULL; } #else + /* FIXME - this value can be too large on some of + the BSD's, which causes sysctl not to return + anything. Maybe we need something smaller? */ mib[1] = KERN_ARGMAX; if(sysctl(mib, 2, &buflen, &size, NULL, 0) < 0) {