Index: kldload.c =================================================================== --- kldload.c (revision 214146) +++ kldload.c (working copy) @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include @@ -171,6 +172,9 @@ fileid = kldload(argv[0]); if (fileid < 0) { warn("can't load %s", argv[0]); + if (errno == ENOEXEC && !quiet) + warnx("Dependendent kernel module can't" + "be loaded from kern.module_path?"); errors++; } else { if (verbose)