Date: Sat, 21 Jun 2008 01:37:14 +0300 From: Oleksandr Tymoshenko <gonzo@freebsd.org> To: Garrett Cooper <yanefbsd@gmail.com> Cc: freebsd-bugs@freebsd.org Subject: Re: kern/124723: Typo in error message in ggated.c Message-ID: <485C311A.70203@freebsd.org> In-Reply-To: <200806190350.m5J3o37a007822@freefall.freebsd.org> References: <200806190350.m5J3o37a007822@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Cooper wrote: > That error message (IMO) is in and of itself misleading. > > strerror(errno) with g_gate_xlog(...) would be a more suitable means > of denoting the error encountered. No point in strerror. Both malloc and strdup set errno only to ENOMEM. Committed as is. -- gonzo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?485C311A.70203>