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);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to