Sean Bruno 4b5e2f8ea0 binmiscctl should use modfind instead of kldfind
kldfind() only matches kernel modules, so if you link imgact_binmisc directly
into the kernel, binmiscctl can't find it, tries to load it, and errors
out with:
  Can't load imgact_binmisc kernel module: File exists

A quick search of other base commands shows that the correct procedure is to
call modfind(), and then try kldload() if that fails.

PR:		218593
Submitted by:	Dan Nelson <dnelson_1901@yahoo.com>
MFC after:	1 week
2017-07-28 18:11:53 +00:00
..
2017-02-28 23:42:47 +00:00
2017-07-20 17:36:17 +00:00
2017-05-09 01:48:23 +00:00
2017-05-09 01:48:23 +00:00
2017-07-10 23:52:04 +00:00
2017-03-11 04:00:27 +00:00
2017-03-10 04:24:21 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-07-19 19:53:07 +00:00
2017-05-28 16:41:42 +00:00
2017-05-19 20:02:32 +00:00
2017-02-28 23:42:47 +00:00
2017-04-04 21:36:13 +00:00
2016-12-02 11:30:21 +00:00
2017-06-15 06:48:36 +00:00
2017-02-28 23:42:47 +00:00
2017-06-15 06:46:40 +00:00
2017-02-28 23:42:47 +00:00
2017-01-28 02:22:15 +00:00
2017-02-10 19:17:10 +00:00
2017-05-23 09:29:05 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-05-23 09:29:05 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-01-28 02:22:15 +00:00