On Fri, 16 Jan 2009, 00:44-0800, Garrett Cooper wrote:

> On Fri, Jan 16, 2009 at 12:41 AM, Garrett Cooper <[email protected]> wrote:
> > Hi amd64 and Hackers,
> >    Uh, I'm really confused why 1) this error (errno => ENOMEM) would
> > occur when I have more than enough free memory (both on x86 and amd64)
> > and 2) why strerror would segfault in the call to errx in the attached
> > sourcefile on amd64 only. Not initializing len causes the second
> > output sample (errno => 14, which is EFAULT).
> >    Any ideas?

-       size_t len;
+       size_t len = 4;

-- 
Maxim Konovalov
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to