Date: Mon, 25 Oct 2010 18:06:44 -0700 From: Xin LI <delphij@delphij.net> To: freebsd-current@freebsd.org Subject: Re: [RFC] More meaningful information about ENOEXEC for kldload(8) Message-ID: <4CC629A4.3080703@delphij.net> In-Reply-To: <4CC5F35A.7090809@FreeBSD.org> References: <4CC5D83E.8030505@delphij.net> <4CC5D9DB.1020409@FreeBSD.org> <AANLkTindYRwpmA=En%2BpYyHVcUkmQ0wsZrB7Y-f2E=vK=@mail.gmail.com> <ia4pjg$650$1@dough.gmane.org> <4CC5F35A.7090809@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------010605020007050506090908 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 10/25/10 14:15, Doug Barton wrote: > On 10/25/2010 13:33, Ivan Voras wrote: >> (except if the message is changed to say "please look at the kernel >> syslog messages to find out the real reason for this failure") > > Thinking about Garrett's response as well, this may be the best way to > go. At this point I'm also not concerned about waiting for an ideal > solution. IMO an incremental change here would be most welcome. I'm thinking about the attached patch which turns printf(9) to uprintf(9) call. Cheers, - -- Xin LI <delphij@delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iQEcBAEBCAAGBQJMximkAAoJEATO+BI/yjfB5ZcH/2Z3UxQmPcRb1YL/+y4imUne jrfLwSXABUcN48w77M1a8qhb0leKrQDzkZxM4Q9+0m/0Y18TA5EYBEIyuVebuVoM +YcfbTI2CH8UAFPUY/su6WNAUHEFQy4tfx4dAeTgOWecVkcoKGGbI6p0V1NCAYUS WRg6VeC7Tv8HySemQHzkKyBFHB6zKWy4U95FDDltiZlzQ5Vv+VquSOURZFw2O7F6 qlvO6B4F1EAbwfibRh5ihKbc1F4uqYrGmidgeH0MfarGsjBXoffmrB7Z+N5409+s d843bw/zR0rgnYkGuE6WNXnChYQvLb6Mgzrg10yDRVhxamUOzq4PHuL5iZ8DBEM= =t2jW -----END PGP SIGNATURE----- --------------010605020007050506090908 Content-Type: text/plain; name="kern_linker.c.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="kern_linker.c.diff" SW5kZXg6IHN5cy9rZXJuL2tlcm5fbGlua2VyLmMKPT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gc3lzL2tl cm4va2Vybl9saW5rZXIuYwkocmV2aXNpb24gMjE0MzU1KQorKysgc3lzL2tlcm4va2Vybl9s aW5rZXIuYwkod29ya2luZyBjb3B5KQpAQCAtMjA4NSw3ICsyMDg1LDcgQEAKIAkJfQogCQll cnJvciA9IGxpbmtlcl9sb2FkX21vZHVsZShOVUxMLCBtb2RuYW1lLCBsZiwgdmVyaW5mbywg TlVMTCk7CiAJCWlmIChlcnJvcikgewotCQkJcHJpbnRmKCJLTEQgJXM6IGRlcGVuZHMgb24g JXMgLSBub3QgYXZhaWxhYmxlIG9yIgorCQkJdXByaW50ZigiS0xEICVzOiBkZXBlbmRzIG9u ICVzIC0gbm90IGF2YWlsYWJsZSBvciIKIAkJCSAgICAiIHZlcnNpb24gbWlzbWF0Y2hcbiIs IGxmLT5maWxlbmFtZSwgbW9kbmFtZSk7CiAJCQlicmVhazsKIAkJfQo= --------------010605020007050506090908--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CC629A4.3080703>