Author: trasz
Date: Fri Jul 29 11:33:23 2016
New Revision: 303477
URL: https://svnweb.freebsd.org/changeset/base/303477

Log:
  Improve error message.
  
  MFC after:    1 month

Modified:
  head/sys/dev/usb/usb_device.c

Modified: head/sys/dev/usb/usb_device.c
==============================================================================
--- head/sys/dev/usb/usb_device.c       Fri Jul 29 11:33:01 2016        
(r303476)
+++ head/sys/dev/usb/usb_device.c       Fri Jul 29 11:33:23 2016        
(r303477)
@@ -1724,8 +1724,8 @@ usb_alloc_device(device_t parent_dev, st
                /* Setup USB descriptors */
                err = (usb_temp_setup_by_index_p) (udev, usb_template);
                if (err) {
-                       DPRINTFN(0, "setting up USB template failed maybe the 
USB "
-                           "template module has not been loaded\n");
+                       DPRINTFN(0, "setting up USB template failed - "
+                           "usb_template(4) not loaded?\n");
                        goto done;
                }
        }
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to