Use new -n option when executing kldload, to
not warn about already loaded module(s). MFC after: 1 week
This commit is contained in:
parent
8be9a344bd
commit
de7d9eb7a3
@ -317,7 +317,7 @@ usb_dump(struct usb_device_id *id, uint32_t nid)
|
||||
printf(" match \"intprotocol\" \"0x%02x\";\n",
|
||||
id->bInterfaceProtocol);
|
||||
}
|
||||
printf(" action \"kldload %s\";\n"
|
||||
printf(" action \"kldload -n %s\";\n"
|
||||
"};\n\n", id->module_name);
|
||||
|
||||
return (n);
|
||||
|
Loading…
Reference in New Issue
Block a user