On Fri, Jan 16, 2009 at 12:47 AM, Jacques Fourie
<jacques.fou...@gmail.com> wrote:
>
> You need to initialize len to the number of entries in the mib array.
> Try adding 'len = 4' before calling sysctlnametomib() and see if your
> issues go away.

    Ok, that solution works (I think). So, problem 2 down. Now: what
about the segfaulting strerror(3) call on amd64 ;\?
-Garrett
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to