svn commit: r233110 - head/tools/tools/bus_autoconf
Hans Petter Selasky
hselasky at FreeBSD.org
Sun Mar 18 09:47:28 UTC 2012
Author: hselasky
Date: Sun Mar 18 09:47:27 2012
New Revision: 233110
URL: http://svn.freebsd.org/changeset/base/233110
Log:
Use new -n option when executing kldload, to
not warn about already loaded module(s).
MFC after: 1 week
Modified:
head/tools/tools/bus_autoconf/bus_usb.c
Modified: head/tools/tools/bus_autoconf/bus_usb.c
==============================================================================
--- head/tools/tools/bus_autoconf/bus_usb.c Sun Mar 18 09:45:43 2012 (r233109)
+++ head/tools/tools/bus_autoconf/bus_usb.c Sun Mar 18 09:47:27 2012 (r233110)
@@ -317,7 +317,7 @@ usb_dump(struct usb_device_id *id, uint3
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);
More information about the svn-src-all
mailing list