Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2006/0119/2

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Add vid, did to print.
 [rsc] --rw-rw-r-- M 852702 sape sys 3032 Jan 19 11:39 sys/src/cmd/usb/lib/device.c
	/n/sourcesdump/2006/0119/plan9/sys/src/cmd/usb/lib/device.c:96,105 - 
	/n/sourcesdump/2006/0120/plan9/sys/src/cmd/usb/lib/device.c:96,105
	  	Endpt *e;
	  
	  	if (e = d->ep[n]) {
	- 		if (verbose) fprint(2, "class %d %d %#6.6lux\n",
	- 			d->nif, n, e->csp);
	- 		fprint(d->ctl, "class %d %d %#6.6lux",
	- 			d->nif, n, e->csp);
	+ 		if (verbose) fprint(2, "class %d %d %#6.6lux %#4.4ux %#4.4ux\n",
	+ 			d->nif, n, e->csp, d->vid, d->did);
	+ 		fprint(d->ctl, "class %d %d %#6.6lux %#4.4ux %#4.4ux",
	+ 			d->nif, n, e->csp, d->vid, d->did);
	  	}
	  }
	  


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].