svn commit: r233561 - stable/9/tools/tools/bus_autoconf

Hans Petter Selasky hselasky at FreeBSD.org
Tue Mar 27 15:32:10 UTC 2012


Author: hselasky
Date: Tue Mar 27 15:32:09 2012
New Revision: 233561
URL: http://svn.freebsd.org/changeset/base/233561

Log:
  MFC r233110:
  Use new -n option when executing kldload, to
  not warn about already loaded module(s).

Modified:
  stable/9/tools/tools/bus_autoconf/bus_usb.c
Directory Properties:
  stable/9/tools/   (props changed)
  stable/9/tools/tools/   (props changed)

Modified: stable/9/tools/tools/bus_autoconf/bus_usb.c
==============================================================================
--- stable/9/tools/tools/bus_autoconf/bus_usb.c	Tue Mar 27 15:29:51 2012	(r233560)
+++ stable/9/tools/tools/bus_autoconf/bus_usb.c	Tue Mar 27 15:32:09 2012	(r233561)
@@ -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-stable-9 mailing list