Re: kldload exec format error on amd64 freebsd-7.1-rc2

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Tue, 20 Jan 2009 19:34:37 +0100
Barney Cordoba <barney_cordoba_at_yahoo.com> writes:
> Is there any interest in fixing this stupid and wrong error message to
> be something like "unresolved externals" at some point?

When the kernel fails to load a module, kldload(2) returns ENOEXEC,
which strerror(3) translates to "exec format error".  If you can think
of a better errno value to use, feel free to send patches.  The only
alternatives I can think of are ENOSYS (ambiguous) and EFTYPE (just as
vague as ENOEXEC).

DES
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Tue Jan 20 2009 - 17:34:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:40 UTC