Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jul 2016 11:33:23 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r303477 - head/sys/dev/usb
Message-ID:  <201607291133.u6TBXN29055603@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 		}
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607291133.u6TBXN29055603>