kldload exec format error on amd64 freebsd-7.1-rc2
Dag-Erling Smørgrav
des at des.no
Tue Jan 20 10:34:40 PST 2009
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
More information about the freebsd-current
mailing list