diff options
author | hselasky <hselasky@FreeBSD.org> | 2012-03-18 09:47:27 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2012-03-18 09:47:27 +0000 |
commit | de7d9eb7a377c7fa7944b0a051a37a6276c79df8 (patch) | |
tree | a5123488467741c56bf1f8f1ea9670a08e138897 /tools | |
parent | 8be9a344bda9803ea7c8ffc87c0310fad97adda9 (diff) | |
download | FreeBSD-src-de7d9eb7a377c7fa7944b0a051a37a6276c79df8.zip FreeBSD-src-de7d9eb7a377c7fa7944b0a051a37a6276c79df8.tar.gz |
Use new -n option when executing kldload, to
not warn about already loaded module(s).
MFC after: 1 week
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/bus_autoconf/bus_usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tools/bus_autoconf/bus_usb.c b/tools/tools/bus_autoconf/bus_usb.c index ab794c1..f15dd49 100644 --- a/tools/tools/bus_autoconf/bus_usb.c +++ b/tools/tools/bus_autoconf/bus_usb.c @@ -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); |